AC自动机
文章平均质量分 80
lose__way
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ - 1204 -Word Puzzles
http://poj.org/problem?id=1204ac 自动机。。将关键字建树。#include<iostream> #include<algorithm> #include<cstring> #include<queue> #include<set> #include<cstdio> using namespace...原创 2018-04-22 21:08:40 · 344 阅读 · 0 评论 -
HDU - 2222——Keywords Search
http://acm.hdu.edu.cn/showproblem.php?pid=2222T个测试数据,n个关键字,问所给字符串出现了哪几种关键字。HDU的测试数据比较弱,提供一组数据1 2 sher he sher输出 2.ac代码。#include<iostream> #include<algorithm> #include<cstring> #inclu...原创 2018-04-21 11:17:04 · 385 阅读 · 0 评论
分享