随笔分类 - 字符串-KMP
摘要:A Secret Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 256000/256000 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0 Problem De
阅读全文
摘要:A Number Sequence 求b序列在a序列出现的次数,KMP模板题: 1 #include <iostream> 2 #include <string.h> 3 #include <stdio.h> 4 char str[10010],str1[1000010]; 5 int nex[10
阅读全文