随笔分类 - 数据结构-后缀数组
摘要:A musical melody is represented as a sequence of N (1<=N<=20000)notes that are integers in the range 1..88, each representing a key on the piano. It i
阅读全文
摘要:sa[i] 表示排名第i的是前缀str(sa[i]), rank[i]表示前缀str(i)的排名。
阅读全文
摘要:Long Long Message Description The little cat is majoring in physics in the capital of Byterland. A piece of sad news comes to him these days: his moth
阅读全文