摘要: #include<stdio.h>#define M 1000010char 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!=-1&&s[ 阅读全文
posted @ 2017-11-08 22:35 can丶 阅读(183) 评论(0) 推荐(0) 编辑