摘要: #include#include#includeusing namespace std;int next[50005];char s[50005],t[50005];void getnext()//next[]数组,next[j]的值表示P[0...j-1]中最长后缀的长度等于相同字符序列的前缀。{... 阅读全文
posted @ 2015-04-10 21:07 寻找&星空の孩子 阅读(228) 评论(0) 推荐(0) 编辑