一、题目描述Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).Find the minimum element...
分类:
编程语言 时间:
2014-10-17 23:10:36
阅读次数:
347
题目描述:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).Find the minimum element....
分类:
其他好文 时间:
2014-10-17 01:12:13
阅读次数:
279
Suppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to make changes with these coins for a given amount of money.
For example, if we have 11 cents, then we...
分类:
其他好文 时间:
2014-10-12 03:01:27
阅读次数:
238
Search in Rotated Sorted Array
Total Accepted: 27955 Total
Submissions: 97929My Submissions
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 ...
分类:
其他好文 时间:
2014-10-09 16:29:38
阅读次数:
177
Suppose that $f\in L^2$, $g\in \scrD'$, if $$\bex f=g,\mbox{ in }\scrD', \eex$$ then $f=g\in L^2$. In fact, $\scrD\subset L^2 \ra L^2\subset\scrD'$. T...
分类:
其他好文 时间:
2014-09-28 16:13:32
阅读次数:
176
题目信息:
1014. Waiting in Line (30)
时间限制
400 ms
内存限制
32000 kB
代码长度限制
16000 B
判题程序
Standard
作者
CHEN, Yue
Suppose a bank has N windows op...
分类:
其他好文 时间:
2014-09-25 23:02:28
阅读次数:
271
题目信息:
1009. Product of Polynomials (25)
时间限制
400 ms
内存限制
32000 kB
代码长度限制
16000 B
判题程序
Standard
作者
CHEN, Yue
This time, you are suppose...
分类:
其他好文 时间:
2014-09-24 12:01:46
阅读次数:
159
Mobile phones
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 15182
Accepted: 7013
Description
Suppose that the fourth generation mobile phone base stations ...
分类:
其他好文 时间:
2014-09-23 22:43:15
阅读次数:
203
Grade
Problem Description
Ted is a employee of Always Cook Mushroom (ACM). His boss Matt gives him a pack of mushrooms and ask him to grade each mushroom according to its weight. Suppose the...
分类:
其他好文 时间:
2014-09-22 11:32:12
阅读次数:
281
Problem Description
Ted is a employee of Always Cook Mushroom (ACM). His boss Matt gives him a pack of mushrooms and ask him to grade each mushroom according to its weight. Suppose the weight of a mu...
分类:
其他好文 时间:
2014-09-22 02:09:11
阅读次数:
238