随笔分类 -  字符串——后缀——后缀自动机

摘要:模板 后缀数组 cpp include define R register int using namespace std; const int N=1e6+9; int sa[N],rk[N],hei[N],x[N],y[N],c[N]; char s[N]; void Rsort(R n,R m 阅读全文
posted @ 2018-11-29 17:22 Flash_Hu 阅读(1193) 评论(7) 推荐(0)