摘要: 题解和题目看这里 #include<bits/stdc++.h> using namespace std; int T; int n,m; int fa[100010]; int d[100010]; int cnt; int cnt2; int fnd(int x) {return fa[x]== 阅读全文
posted @ 2018-08-09 15:40 秦こころ酱 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 题解和题看这里 #include<bits/stdc++.h> using namespace std; #define Q 137 #define mod 19260817 #define Mod 20172101 #define ll long long ll hsh1[100010]; ll 阅读全文
posted @ 2018-08-09 08:14 秦こころ酱 阅读(86) 评论(0) 推荐(0) 编辑