08 2021 档案
摘要:本场链接:AtCoder Beginner Contest 216 A - Signed Difficulty #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> pii;
阅读全文
摘要:vjudge链接 TripleEliminationTournament 先把 G 组中获胜的那个人抠出来,其他人都需要滚到被淘汰组:那么这些人的步数就是 3∗(n−1),对于胜者自己:只需走 G 步. #include <bits/stdc++.h> using namesp
阅读全文
摘要:本场链接: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 考虑平均值:最大值所在的组,会因为放入别的数而变小.每个数都需要在一个组,不
阅读全文