MultipleTime Limit:2 SecMemory Limit:64
MBSubmissions:197Solved:35DescriptionRocket323loves math very much. One
day,Rocket323got a number string. He c...
分类:
其他好文 时间:
2014-06-07 04:33:31
阅读次数:
250
Finding NemoTime Limit: 2000MSMemory Limit:
30000KTotal Submissions: 7372Accepted: 1714DescriptionNemo is a naughty boy. One
day he went into the deep...
分类:
其他好文 时间:
2014-05-29 09:36:17
阅读次数:
355
题目: Say you have an array for which the ith element
is the price of a given stock on day i. Design an algorithm to find the maximum
profit. You may co...
分类:
其他好文 时间:
2014-05-28 22:37:18
阅读次数:
327
华硕今天举行互联云伙伴大会(ASUS Cloud
Day),宣布「华硕互联云」策略,云端总经理吴汉章表示,华硕目前拥有超过3000万个人云端用户,目标年底5000万户。
分类:
其他好文 时间:
2014-05-28 13:23:19
阅读次数:
321
题目链接题意: find the maximum positive difference
between the price on the ith day and the jth day附上代码: 1 class Solution { 2
public: 3 int maxProfit(ve...
分类:
其他好文 时间:
2014-05-28 03:49:45
阅读次数:
307
题目: Say you have an array for which the ith element
is the price of a given stock on day i. If you were only permitted to complete
at most one transac...
分类:
其他好文 时间:
2014-05-28 00:55:20
阅读次数:
288
题目: Say you have an array for which the ith element
is the price of a given stock on day i. Design an algorithm to find the maximum
profit. You may co...
分类:
其他好文 时间:
2014-05-28 00:53:26
阅读次数:
338
date()函数用于格式化时间或日期date(format,timestamp)mktime()函数可为指定的日期返回Unix时间戳mktime(hour,minuite,second,mouth,day,year,is_dst)include和require语句用于在执行流中向其他文件插入有用的代...
分类:
Web程序 时间:
2014-05-27 16:59:04
阅读次数:
278
";$begin_day = date("Y-m-d 00:00:00");$end_day
= date("Y-m-d 23:59:59");$last_begin = date("Y-m-d 00:00:00",strtotime("last
days"));$last_end = date("...
分类:
Web程序 时间:
2014-05-26 00:37:10
阅读次数:
407
DescriptionThere are n houses in the village and
some bidirectional roads connecting them. Every day peole always like to ask
like this "How far is it...
分类:
其他好文 时间:
2014-05-25 22:47:22
阅读次数:
283