摘要: 全名: Aho-Corasick 自动机, 类似 Trie + next函数写法: 动态 / 静态, 个人比较偏向与静态内容: 网上一大堆,我是看的 LRJ新版白书214页静态模板:// Aho-Corasick#include<cstdio>#include<cstdlib>#include<cstring>#include<string>#include<queue>#include<algorithm>using namespace std;#define Clear(x) memset(x,0,sizeof(x)) 阅读全文
posted @ 2013-05-23 11:43 yefeng1627 阅读(932) 评论(0) 推荐(0) 编辑

Launch CodeCogs Equation Editor