摘要: Drainage DitchesTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 41645Accepted: 15583DescriptionEvery time it rains on Farmer John's fields, a... 阅读全文
posted @ 2012-08-16 23:35 max_xbw 阅读(151) 评论(0) 推荐(0) 编辑
摘要: WormholesTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 20567Accepted: 7314DescriptionWhile exploring his many farms, Farmer John has discov... 阅读全文
posted @ 2012-08-16 21:59 max_xbw 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1 void get_next(char *str) 2 { 3 int len=strlen(str); 4 next[0]=-1; 5 int j=0,k=-1;//k记录next[]; 6 7 while(j<len) 8 { 9 ... 阅读全文
posted @ 2012-08-16 21:08 max_xbw 阅读(191) 评论(0) 推荐(0) 编辑