摘要:
题目传送门 A. Finding Sasuke n给定了是偶数,两两配对随便怎么搞都行 #include<bits/stdc++.h> using namespace std; #define rep(i, a, b) for(int i = a; i <= b; i++) typedef long 阅读全文
摘要:
题目传送门 A. Number of Apartments #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register int i = a; i <= b 阅读全文
摘要:
题目传送门 A. Fence 签到 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register int i = a; i <= b; i++) ll a, 阅读全文
摘要:
题目传送门 A. Circle Coloring #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register int i = a; i <= b; i++ 阅读全文
摘要:
题目传送门 A. Copy-paste 把最小的数加到其他数上。 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register int i = a; i < 阅读全文
摘要:
题目传送门 A. Subset Mex #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register int i = a; i <= b; i++) int 阅读全文
摘要:
题目传送门 A. Matrix Game 判断一下min(空行个数,空列个数)为奇数还是偶数 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register 阅读全文
摘要:
1001.Road To The 3rd Building 遍历1-n,计算所有长度为 i 的区间的值的和。 维护两个前缀和就可以计算。分母也显而易见。 #include <bits/stdc++.h> using namespace std; typedef long long ll; #defi 阅读全文