SPOJ - LCS Longest Common Substring (后缀自动机)

求两个串的最长公共子串c++ 保存个人模板!spa   #include<bits/stdc++.h> using namespace std; const int MAXN=500005; typedef long long ll; int step[MAXN]; int SZ=1; int ch[MAXN][30]; int fa[MAXN]; int last=1; void exten
相关文章
相关标签/搜索