摘要: 思路:KMP裸题 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N=1e6+7; 4 char p[N],s[N];//p是模式串(短),s是文本串(长) 5 int ne[N];//next[j]就是待匹配串从t[0]开 阅读全文
posted @ 2021-02-18 16:55 古比 阅读(68) 评论(0) 推荐(0) 编辑