摘要: 例题:洛谷 P3808 AC自动机 #include <bits/stdc++.h> using namespace std; struct Tree { //字典树 int fail;//失配指针 int vis[26];//子节点的位置 int end;//标记有几个单词以这个节点结尾 } AC 阅读全文
posted @ 2020-02-03 20:57 Z_MIKI 阅读(105) 评论(0) 推荐(0)