摘要: 函数: 使用方法: 阅读全文
posted @ 2016-08-03 18:55 相儒以沫 阅读(400) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; const int K=26;//一共有多少种字符 const int MAXC=500010;//模版串包含的字符数量 const int MAXN=1000010;//匹配串的最大长度 struct Trie { int next[M... 阅读全文
posted @ 2016-08-03 18:54 相儒以沫 阅读(179) 评论(0) 推荐(0) 编辑