06 2021 档案
摘要:比赛链接:https://atcoder.jp/contests/abc205 A - kcal #include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullp
阅读全文
摘要:比赛链接:https://codeforces.com/contest/1538 A. Stone Game 题解 从一侧取:两种情况 从两侧取:一种情况 取三种情况的最小值。 代码 #include <bits/stdc++.h> using namespace std; int main() {
阅读全文
摘要:比赛链接:https://codeforces.com/contest/1535 A. Fair Playoff 题解 可以考虑不成立的情况。 代码 #include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_s
阅读全文
摘要:比赛链接:https://codeforces.com/contest/1529 A. Eshag Loves Big Arrays 题解 反复选取最小值和大于它的数即可。 代码 #include <bits/stdc++.h> using namespace std; int main() { i
阅读全文
摘要:比赛链接:https://atcoder.jp/contests/abc203/tasks A - Chinchirorin 题意 给出三个数,如果有两个数相同,输出剩下的那个数。 题解 模拟。 代码 #include <bits/stdc++.h> using namespace std; int
阅读全文

浙公网安备 33010602011771号