摘要: 题目链接 代码 #include <iostream> #include <cstdio> using namespace std; const int N = 1000010; int n; char str[N]; int tr[N][26],cnt[N],idx; int fail[N],q[ 阅读全文
posted @ 2022-08-31 13:22 incra 阅读(28) 评论(0) 推荐(0)