HDU1711 【kmp算法 基础题】
摘要:
#include#includeint next[10005],lena,lenb;int a[1000005],b[10005];void set_naxt()//子串的next数组{ int i=0,j=-1; next[0]=-1; while(i<lenb) { ... 阅读全文
posted @ 2014-08-07 16:23 tf girl 阅读(164) 评论(0) 推荐(0)
路漫漫其修远兮,吾将上下而求索。
2014年8月7日 #
posted @ 2014-08-07 16:23 tf girl 阅读(164) 评论(0) 推荐(0)