摘要: 链接:http://acm.hdu.edu.cn/showproblem.php?pid=5384 思路:没学自动机时以为是道KMP然后就tle了好几把,AC自动机模板题 阅读全文
posted @ 2016-08-12 16:55 pter 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 链接:http://acm.hdu.edu.cn/showproblem.php?pid=2222 思路:裸AC自动机,直接贴代码做模板 阅读全文
posted @ 2016-08-12 16:52 pter 阅读(141) 评论(0) 推荐(0) 编辑