Description
Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks, that is these sticks such th...
分类:
其他好文 时间:
2014-08-16 17:11:52
阅读次数:
272
hash 模拟url路由function hashdone(){var hash;hash=(!window.location.hash)?"#one":window.location.hash;window.location.hash=hash;var hashStr = location.has...
分类:
其他好文 时间:
2014-08-16 17:03:40
阅读次数:
212
Problem Description
Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the U...
分类:
其他好文 时间:
2014-08-16 16:28:10
阅读次数:
185
#include #include int zhuanhuan(char str[20]){ if(strcmp(str,"zero")==0) return 0; if(strcmp(str,"one")==0) return 1; if(strcmp(str,"two")==0) ret...
分类:
其他好文 时间:
2014-08-16 16:25:50
阅读次数:
244
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the sequence of ...
分类:
其他好文 时间:
2014-08-16 12:37:20
阅读次数:
219
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Note:
You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements fro...
分类:
其他好文 时间:
2014-08-16 11:12:43
阅读次数:
317
DescriptionBessie has moved to a small farm and sometimes enjoys returning to visit one of her best friends. She does not want to get to her old home ...
分类:
数据库 时间:
2014-08-16 11:08:00
阅读次数:
268
Detect the Virus
Time Limit: 2 Seconds Memory Limit: 65536 KB
One day, Nobita found that his computer is extremely slow. After several hours' work, he finally found that it was a virus that...
分类:
其他好文 时间:
2014-08-16 09:44:50
阅读次数:
377
1.NSArray 是一个父类,NSMUtableArray是其子类,他们构成了OC的数组。2.NSArray的创建NSArray * array = [[NSArray alloc]initWithObjects:@"one",@"two",@"three",@"four good",nil];/...
分类:
其他好文 时间:
2014-08-16 01:01:09
阅读次数:
209
A - 一二三Time Limit:1000MS Memory Limit:65535KB 64bit IO Format:%I64d & %I64uSubmitStatusDescription你弟弟刚刚学会写英语的一(one)、二(two)和三(three)。他在纸上写了好些一二...
分类:
其他好文 时间:
2014-08-16 00:59:19
阅读次数:
203