摘要: 后缀自动机四·重复旋律7 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 2000010; 4 const int mod = 1e9 + 7; 5 char s[maxn]; 6 int len[maxn<< 阅读全文
posted @ 2018-03-05 11:40 yijiull 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 拓扑排序·一 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxv = 100010; 4 const int maxe = 500010; 5 struct Edge{ 6 int v, nxt; 7 Edge(){} 阅读全文
posted @ 2018-03-05 08:52 yijiull 阅读(144) 评论(0) 推荐(0) 编辑