摘要: kmp,next带优化 #include<iostream> #include<bits/stdc++.h> using namespace std; void getnext(char p[],int next[]){ next[0]=-1; int i=0,j=-1; int n=strlen( 阅读全文
posted @ 2019-11-14 11:34 acwarming 阅读(203) 评论(0) 推荐(0) 编辑