
KMP
文章平均质量分 72
追逐星辰的光
脚踏实地,虚心前行
展开
-
POJ 2752 Seek the Name, Seek the Fame
原题: Seek the Name, Seek the Fame 原题意思:输入一串全为小写字母的字符串,字符串长度小于400000,输出所有满足前缀和后缀相等的字符的长度,这个”组合条件“我会在样例中说明。 第一组样例解释: 样例一:ababcababababcabab 2:ababcababababcabab 4:ababcabababcaba原创 2017-07-17 11:22:15 · 333 阅读 · 0 评论 -
POJ 2185 Milking Grid
Every morning when they are milked, the Farmer John's cows form a rectangular grid that is R (1 <= R <= 10,000) rows by C (1 <= C <= 75) columns. As we all know, Farmer John is quite the expert on cow原创 2017-07-18 09:44:28 · 461 阅读 · 0 评论