摘要:
传送门:https://www.lydsy.com/JudgeOnline/problem.php?id=1004 【题解】 Burnside引理,考虑Polya原理的推导,由于循环节必须染相同的颜色,那么可以dp出方案。 1 # include <bits/stdc++.h> 2 using na 阅读全文
摘要:
传送门:http://codeforces.com/problemset/problem/15/E 【题解】 1 # include <bits/stdc++.h> 2 using namespace std; 3 4 typedef long long ll; 5 6 const int mod 阅读全文
摘要:
传送门:https://www.lydsy.com/JudgeOnline/problem.php?id=5305 【题解】 1 # include <bits/stdc++.h> 2 using namespace std; 3 4 const int M = 2010; 5 6 int n, m 阅读全文