随笔分类 -  KMP

摘要:#include#include#includeusing namespace std;int next[100];void set_next(char str[]){ int len,j,i; len=strlen(str); next[0]=-1; j=-1; i=0; ... 阅读全文
posted @ 2015-09-29 19:49 lucky_少哖 阅读(193) 评论(0) 推荐(0)