摘要:
本场链接:Codeforces Round #748 (Div. 3) A. Elections 直接按题意模拟即可 #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> p 阅读全文
摘要:
本场链接:AtCoder Beginner Contest 221 闲话 因为 E 的公式写歪了一点,多做了两小时,吐了.F 看起来像是一个分类讨论,不太想做,如果做了再写吧. A - Seismic magnitude scales #include <bits/stdc++.h> using n 阅读全文
摘要:
本场链接:AtCoder Beginner Contest 216 A - Signed Difficulty #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pii; 阅读全文
摘要:
本场链接:AtCoder Beginner Contest 215 闲话 感觉有些不在状态,傻逼题都做不出来,脑子想不进去.GH不知道能不能做,能做再说. A - Your First Judge #include <bits/stdc++.h> using namespace std; typed 阅读全文
摘要:
本场链接:Codeforces Round #739 (Div. 3) A. Dislike of Threes 直接枚举即可 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define forn(i,x,n 阅读全文
摘要:
本场链接:Codeforces Round #737 (Div. 2) 闲话 做的时候把C的条件转错了白做一个多小时.最后E由于假了所以就不写了,有兴趣自己补吧. A. Ezzat and Two Subsequences 考虑平均值:最大值所在的组,会因为放入别的数而变小.每个数都需要在一个组,不 阅读全文