摘要: ac自动机学习博客 本来以为是很高级的算法 其实理解以后并不难 只是在字典树的基础上用fail数组标记一下回朔的位置 加速查找 就可以实现多模式串的匹配查找 模版如下: 阅读全文
posted @ 2019-05-07 21:13 WAKBGAN 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Problem Description #define xhxj (Xin Hang senior sister(学姐)) If you do not know xhxj, then carefully reading the entire description is very important 阅读全文
posted @ 2019-05-07 18:45 WAKBGAN 阅读(165) 评论(0) 推荐(0) 编辑