Think twice, code once.
sa[i]表示排名i的是后缀sa[i] rank[i]表示后缀i的排名是rank[i]
阅读全文 >>
单位复数根wn=1w^n=1wn=1 代码: