题目链接Your algorithms have become so good at predicting the market that you now know what the share price of Wooden Orange Toothpicks Inc. (WOT) will be...
分类:
其他好文 时间:
2014-08-17 08:07:01
阅读次数:
238
NSString的使用。1、 - (NSUInteger)length; 返回字符串的长度NSString *demo = @"hello world";NSString *demo two=@"good morning";NSLog(@"%ld", [demo length]);输出为 112- ...
分类:
其他好文 时间:
2014-08-16 18:18:50
阅读次数:
263
1.NSArray 是一个父类,NSMUtableArray是其子类,他们构成了OC的数组。2.NSArray的创建NSArray * array = [[NSArray alloc]initWithObjects:@"one",@"two",@"three",@"four good",nil];/...
分类:
其他好文 时间:
2014-08-16 01:01:09
阅读次数:
209
最近几天一直在做有关后缀自动机的题目感觉似乎对后缀自动机越来越了解了呢!喵~这题还是让我受益颇多的,首先搞一个后缀自动机是妥妥的了可是搞完之后呢?我们来观察 step 这个变量,每个节点的 step 是从根节点到此节点所经过的最长步数那么也就是以该点为结尾的最长的后缀长度如何统计不被 Bi 串包含的...
分类:
其他好文 时间:
2014-08-15 20:59:19
阅读次数:
290
Being a Good Boy in Spring Festival
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 4649 Accepted Submission(s): 2774
Problem Descr...
分类:
其他好文 时间:
2014-08-15 12:56:18
阅读次数:
194
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.参考“Largest Rectangle in Histogram...
分类:
其他好文 时间:
2014-08-15 12:45:58
阅读次数:
162
1290: Random IntegersTime Limit:1 SecMemory Limit:128 MBSubmit:72Solved:45[Submit][Status][Web Board]DescriptionWe choose an integer K (K > 0). Then w...
分类:
其他好文 时间:
2014-08-14 23:48:26
阅读次数:
211
1307: City TourTime Limit:1 SecMemory Limit:128 MBSubmit:549Solved:124[Submit][Status][Web Board]DescriptionAlice想要从城市A出发到城市B,由于Alice最近比较穷(不像集训队陈兴老师是个...
分类:
其他好文 时间:
2014-08-14 23:25:46
阅读次数:
198
1060: Nearest SequenceTime Limit:1 SecMemory Limit:64 MBSubmit:370Solved:118[Submit][Status][Web Board]Description Do you remember the "Nearest Number...
分类:
其他好文 时间:
2014-08-14 23:09:26
阅读次数:
211
Remmarguts' Date
Time Limit: 4000MS
Memory Limit: 65536K
Total Submissions: 21064
Accepted: 5736
Description
"Good man never makes girls wait or breaks an appointme...
分类:
其他好文 时间:
2014-08-14 20:37:39
阅读次数:
266