摘要: 代码实现参考:http://www.cnblogs.com/candy99/p/6374177.html SAM教程推荐:https://huntzhan.org/suffix-automaton-tutorial/ 阅读全文
posted @ 2017-07-06 21:29 Galaxies 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 传送门:http://hihocoder.com/problemset/problem/1445 【题解】 大概看了一天的后缀自动机,总算懂了一些 这篇文章写的非常好,诚意安利:Suffix Automaton Tutorial - Hunt Zhan 我就是看了这个大概懂了。 整个过程大概是:每次 阅读全文
posted @ 2017-07-06 21:07 Galaxies 阅读(224) 评论(0) 推荐(0) 编辑