摘要: 关于KMP 用途:字符串匹配,求周期 性质:$i next[i]$是循环节(画图可知) C++ fail[0]=fail[1]=1; for(int i=1;i 阅读全文
posted @ 2018-09-08 20:05 ART_coder 阅读(134) 评论(1) 推荐(1) 编辑