摘要: 后缀自动机的原理就不在赘述了,这里主要介绍它的应用。 板子: ```cpp struct node{ int c[26],len,fa; } a[maxn]; void build(int x){ int p=las;int np=las=++tot; a[np].len=a[p].len+1; f 阅读全文
posted @ 2023-07-30 21:12 andy_lz 阅读(82) 评论(0) 推荐(0)