摘要: 字符串 KMP const int N=1000005; char s[N], t[N]; int len_s, len_t, nxt[N]; void GetNext(char *s) { for (int i=2, k=0; i<=len_s; i++) { while (k && s[i]!= 阅读全文
posted @ 2020-12-21 08:31 OIER笔记 阅读(130) 评论(0) 推荐(0) 编辑
返回顶部↑
友情链接: SSOJ OIER博客 ABC题解 ChatGPT体验 WIKIOI