随笔分类 - Codeforces
CF上分记
(其实是掉大分QAQ)
摘要:Educational Codeforces Round 1 https://codeforces.com/contest/598 康复训练day1 1/6:A A. Tricky Sum 求和公式(等差+等比) #include <bits/stdc++.h> #define int long l
阅读全文
摘要:# Codeforces Round #828 (Div. 3) https://codeforces.com/contest/1744 罚时爆炸的a~e1 ## A. Number Replacement 数字一样的对应字母一定要一样。 我写的好复杂,不知道为啥脑抽了,写了巨久 ```CC #in
阅读全文
摘要:Codeforces Round #827 (Div. 4) https://codeforces.com/contest/1742 人傻逼了,C题卡了半天心态直接炸掉,第二天起来过了FG,麻 A. Sum #include <bits/stdc++.h> using namespace std;
阅读全文
摘要:Codeforces Round #826 (Div. 3) https://codeforces.com/contest/1741 今天vp了一下最近一场div3,感觉难度在上升啊(悲 vp出了abd,c是我sb了有个地方初始化错了。 然后预期的话应该是要能出E的(“简单dp”) FG还没补,感觉
阅读全文
摘要:
Educational Codeforces Round 132 (Rated for Div. 2) https://codeforces.com/contest/1709 这场ab很模拟(但我写的很慢),c居然比d难(策略性失误,悲) A. Three Doors 读题读了半天 题意 有三扇门,
阅读全文

摘要:Codeforces Round #809 (Div. 2) https://codeforces.com/contest/1706 A. Another String Minimization Problem 题意 现有一个长度为n的序列a, ()和一个长度为m的全
阅读全文
摘要:Codeforces Round #808 (Div. 2) https://codeforces.com/contest/1708 被虐惨了(爆哭... A. Difference Operations 题意 对于任意一个 ,可以把 变成
阅读全文
摘要:
Codeforces Round #807 (Div. 2) https://codeforces.com/contest/1705 A. Mark the Photographer 排个序,然后把数组砍成两半,看看每个位置上的对应差值是否符合 #include <bits/stdc++.h> us
阅读全文

摘要:Codeforces Round #624 (Div. 3) 昨天vp的 https://codeforces.com/contest/1311 A. Add Odd or Subtract Even 以为成另一道题了。。。这里每次加减的数是可变的,所以: #include <bits/stdc++
阅读全文
摘要:Codeforces Round #806 (Div. 4) https://codeforces.com/contest/1703 抱歉啊。。鸽了这么久。实在是最近太懒惰了唉 A. YES or YES? (看到题目的时候DNA动了,差点唱出来) 直接按题意判断即可 #include <bits/
阅读全文
摘要:Educational Codeforces Round 131 (Rated for Div. 2) https://codeforces.com/contest/1701 A. Grass Field 统计1的个数cnt: cnt=0,则ans=0 0<cnt<4,则ans=1 cnt=4,则a
阅读全文
摘要:Codeforces Round #710 (Div. 3) https://codeforces.com/contest/1506 昨天的vp A. Strange Table 计算坐标,然后转化 #include <bits/stdc++.h> #define int long long usi
阅读全文
摘要:Codeforces Round #713 (Div. 3) https://codeforces.com/contest/1512 F 好题! 暑假争取天天vp A. Spy Detected! pair排序 #include <bits/stdc++.h> using namespace std
阅读全文
摘要:Codeforces Round #804 (Div. 2) https://codeforces.com/contest/1699 争取上绿名啊啊啊 只做出AB,这里也存档一下大佬们的CD题解以辅助理解 A. The Third Three Number Problem 题意: 构造a, b, c
阅读全文
摘要:Codeforces Round #799 (Div. 4)
阅读全文
摘要:Codeforces Round #797 (Div. 3) A-F https://codeforces.com/contest/1690 A. Print a Pedestal (Codeforces logo?) 就是一个codeforces(颁奖台)的形状;中间的 最高,左边第二,右边第三
阅读全文
摘要:The 19th Zhejiang Provincial Collegiate Programming Contest 今天跑去239和学姐vp 结果发现自己啥也不会QAQ A. JB Loves Math 只能加上奇数或者减去偶数,且这个数字是固定的 分为三大类: ,答案为0; \
阅读全文
摘要:2021 Jiangxi Provincial Collegiate Programming Comuqintest 目前做了: ABHKL https://codeforces.com/gym/103366 A. Mio visits ACGN Exhibition 数字三角形模型,只依赖于前一个
阅读全文