![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
AC自动机+KMP
文章平均质量分 78
NowAndForever
这个作者很懒,什么都没留下…
展开
-
HDU 2222 Keywords Search
http://www.notonlysuccess.com/index.php/aho-corasick-automaton/ HH大牛博客原创 2014-08-10 11:18:19 · 407 阅读 · 0 评论 -
HDU_3065 病毒侵袭持续中
http://acm.hdu.edu.cn/showproblem.php?pid=3065原创 2014-08-10 15:30:33 · 396 阅读 · 0 评论 -
HDU-2896 病毒侵袭
http://acm.hdu.edu.cn/showproblem.php?pid=2896 问你目标串中出现了几个模式串 同上一题,只是这题要输出模式串的ID,且字符是所有可见字符,要开[128]的儿子结点. set记录每个网址包含的病毒的编号。 #include #include #include #include #include #include #include #i原创 2014-08-10 13:23:50 · 555 阅读 · 0 评论