摘要: int kmp(char * t,int lenT,char * pat,int lenPat){ int posP=0,posT=0; int[] f=partialMatch(pat,lenPat)//获取pat字符串的部分匹配数组 while(posP str[0:k]==... 阅读全文
posted @ 2014-06-12 15:00 xsauce 阅读(175) 评论(0) 推荐(0) 编辑