随笔分类 -  字符串-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 阅读全文
posted @ 2017-08-19 18:35 starry_sky 阅读(328) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2017-07-10 21:12 starry_sky 阅读(273) 评论(0) 推荐(0)