spoj 7258 Lexicographical Substring Search(后缀数组 | 后缀自动机)
题目链接:spoj7258LexicographicalSubstringSearch代码-后缀数组#include
#include
#include
#include
#include
usingnamespacestd;
constintmaxn=90000+5;
structSuffix_Arr{
intn,s[maxn];
intSA[maxn],rank[maxn],height[