摘要:
Milking GridTime Limit:3000MSMemory Limit:65536KTotal Submissions:7153Accepted:3047DescriptionEvery morning when they are ... 阅读全文
摘要:
题意:统计其中一个子串的出现次数题解:即KMP算法中j==m的次数//作者:1085422276#include #include #include #include #include #include #include #include #include #include #include //#... 阅读全文
摘要:
题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=36131题意:给出一个长度为n的字符串,要求找到一些i,满足说从1~i为多个个的重复子串构成,并输出子串的个数。题解:对kmp中预处理的数组的理解 //作者:10854... 阅读全文
摘要:
Simpsons’ Hidden TalentsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4683Accepted Submission(s)... 阅读全文