2896nbsp专题

HDUnbsp;2896nbsp;病毒侵袭(AC自动机)

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2896   AC自动机一枚,不解释,分析看前面文章   附上代码: #include<cstdio> #include<cstdlib> #include<cstring> #include<queue> #include<iostream> using namespace std; typedef