摘要: struct ACM{ int ch[N][26],f[N],cnt[N]; int sz,rt; int ins(char *s){ int n=strlen(s),u=rt; for(int i=0;iq; while(!q.empty())q.pop(); int u=0; for(in... 阅读全文
posted @ 2017-12-22 16:54 orzzz 阅读(179) 评论(0) 推荐(0) 编辑