后缀自动机遍历全部子串

裸板子node 到如今我复杂度仍是不会算ios #include<iostream> #include<cstdio> #include<string.h> #include<cstring> typedef long long ll; using namespace std; int tot = 1; int las = 1; struct node{ int ch[26]; i
相关文章
相关标签/搜索