摘要: 一组数据:13ssssssssssssans:3#include #include #include #include #include using namespace std;//MAX_NODE = StringNumber * StringLengthconst int MAX_NODE = 10100 * 50;//节点个数,一般字符形式的题26个const int CHILD_NUM = 26;const int MAXN = 1000100;struct ACAutomaton { //每个节点的儿子,即当前节点的状态转移 int chd[MAX_NODE][CHILD... 阅读全文
posted @ 2013-10-12 11:05 冰鸮 阅读(248) 评论(0) 推荐(0) 编辑