Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function to...
分类:
其他好文 时间:
2014-11-22 22:52:33
阅读次数:
262
马上要去上海了,刷刷现场赛的题找找感觉~~~
这题。。。。。。。额,没什么好说的,太水。。
ZOJ Problem Set - 3819
Average Score
Time Limit: 2 Seconds
Memory Limit: 65536 KB
Bob is a freshman in Marjar University. He is cleve...
分类:
其他好文 时间:
2014-11-22 21:39:50
阅读次数:
382
ZOJ Problem Set - 3827
Information Entropy
Time Limit: 2 Seconds
Memory Limit: 65536 KB Special Judge
Information Theory is one of the most popular courses in Marjar University. In...
分类:
其他好文 时间:
2014-11-22 21:39:11
阅读次数:
376
切切水水的~
1251: 报数游戏
Time Limit: 1 Sec Memory Limit:
128 MB
[Submit][Status][Web
Board]
Problem Description
n个人站成一行玩一个报数游戏。所有人从左到右编号为1到n。游戏开始时,最左边的人报1,他右边的人报2,编号为3的人报3,等等。当编号为n的人...
分类:
其他好文 时间:
2014-11-22 21:38:48
阅读次数:
197
切切水题抚慰受伤的心=~=
1250: 一二三
Time Limit: 1 Sec Memory Limit:
128 MB
[Submit][Status][Web
Board]
Problem Description
你弟弟刚刚学会写英语的一(one)、二(two)和三(three)。他在纸上写了好些一二三,可惜有些字母写错了。已知每个单词最多有一个...
分类:
其他好文 时间:
2014-11-22 21:38:02
阅读次数:
229
水水的~=~
1254: 盒子游戏
Time Limit: 1 Sec Memory Limit:
128 MB
[Submit][Status][Web
Board]
Problem Description
有两个相同的盒子,其中一个装了n个球,另一个装了一个球。Alice和Bob发明了一个游戏,规则如下:Alice和Bob轮流操作,Alice先操作。每次操...
分类:
其他好文 时间:
2014-11-22 21:35:21
阅读次数:
263
素数判定Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%lld & %lluDescription对于表达式n2+n+41,当n在(x,y)范围内取整数值时(包括x,y)(-39 2 #incl...
分类:
其他好文 时间:
2014-11-22 21:32:52
阅读次数:
236
周游列国 Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%lld & %lluDescription 大家都知道孔子吧,春秋战国时候的一个老头儿。当时...
分类:
其他好文 时间:
2014-11-22 21:29:38
阅读次数:
247
C++与Java Time Limit:1000MSMemory Limit:65536KB64bit IO Format:%lld & %lluDescription按照Java的命名规范,由一个多个单词...
分类:
编程语言 时间:
2014-11-22 21:29:17
阅读次数:
256
最大连续子序列Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19895Accepted Submission(s): 8806Problem De...
分类:
其他好文 时间:
2014-11-22 21:22:08
阅读次数:
147