摘要: struct state { int len,link; int nxt[31]; }; char s[N]; int n,ans,t[N],a[N],b[N],O; struct SAM { state st[N*2]; int siz,last; void init() { for(int i= 阅读全文
posted @ 2023-01-29 11:20 Diamondan 阅读(46) 评论(0) 推荐(0)