摘要: #include<stdio.h> #define M 1000010 char s[M],t[M]; int next[M],sum; void getNext()//求next数组 { int i,j; next[0]=-1; for(i=1,j=-1;s[i];i++){ while(j!=- 阅读全文
posted @ 2017-11-07 21:42 can丶 阅读(288) 评论(0) 推荐(0) 编辑