摘要: 数组开小了,还是小了很多,注意数组里的是节点总数!#include#include#include#include#include#define maxn 500000+10using namespace std;int ch[maxn][26],fail[maxn],last[maxn],val[... 阅读全文
posted @ 2014-08-05 14:31 TK在颤抖 阅读(578) 评论(0) 推荐(0) 编辑