摘要:
#include#include#includeusing namespace std;char s[50][100];char t[10000],name[1000];int next[50005];void getnext(char s[])//把副串弄进来,next{ int i=0,j=-1; next[0]=-1; int len=strlen(s); while(i<len) { if(s[i]==s[j]||j==-1) { i++; j++; next[i... 阅读全文
posted @ 2013-09-20 17:03
紫忆
阅读(307)
评论(0)
推荐(0)

浙公网安备 33010602011771号