标题
增加 1 行删除 1 行
1260724字符串B CF1721E KMP自动机学习笔记1260724strC CF1721E KMP自动机学习笔记
正文
增加 1 行删除 1 行
17 行未改动18192021222324252629 行未改动17 行未改动#include<bits/stdc++.h>using namespace std;#define ll long longconst int N=1e6+5;int nxt[N];int tr[N][30];//tr[i][j] 表示 不停沿着 nxt[] 往上跳,使得 s_{k+1}=j 的 k29 行未改动17 行未改动18192021222324252629 行未改动17 行未改动#include<bits/stdc++.h>using namespace std;#define ll long longconst int N=1e6+1e5+2;int nxt[N];int tr[N][30];//tr[i][j] 表示 不停沿着 nxt[] 往上跳,使得 s_{k+1}=j 的 k29 行未改动