摘要:
AC自动机,不得不说,很难理解。这里的代码是《算法竞赛入门经典——训练指南》上的代码,自己把散碎的代码整理了整理。#include <iostream>#include <cstdlib>#include <cstdio>#include <algorithm>#include <cstring>#include <stack>#include <vector>#include <queue>#include <map>using namespace std;const int maxn 阅读全文