随笔分类 - Codeforces
CF上分记
(其实是掉大分QAQ)
摘要:2022 女生赛 补题 ACEGHI https://codeforces.com/gym/104081 属于是考前抱佛脚了,希望能有个好成绩球球了 一些写过的题题解在此:如何评价2022CCPC女生赛? - 知乎用户的回答 - 知乎 A. 减肥计划 模拟直到最大的那个人到前面 (最开始用queue
阅读全文
摘要:2021 CCPC 桂林 ADEGIK https://codeforces.com/gym/103409 女队vp。就做了四道比较签到的题,后续补了两题,感觉比较考察思维。本身的代码不难写。其中,D题要能明白那个贪心的思想,尽量把大的放在前面,并且要知道怎么才能把大的放在前面!!!K题非常神奇,想
阅读全文
摘要:2022 China Collegiate Programming Contest (CCPC) Mianyang Onsite (2022CCPC绵阳)ACGHM https://codeforces.com/gym/104065 昨天女队vp了一下,赛时4题223罚时 A是一个dp,学妹已经写的
阅读全文
摘要:# A - Non-Adjacent Flip https://atcoder.jp/contests/arc156/tasks/arc156_a ## 题意 给定一个01串,每次可以把不相邻的两个字符进行翻转,问最少要操作多少次使得全部变为0,无解输出-1。 ## 分析 记录 的数量为 $
阅读全文
摘要:# 攻防演练 ## 来源 2021年中国大学生程序设计竞赛女生专场 https://codeforces.com/gym/103389/problem/B ## 题解  https://codeforces.com/contest/1462 ## A. Favorite Sequence 按题意输出 ```CC #include using namespace std; const int N = 1e
阅读全文
摘要:# Educational Codeforces Round 38 C - F https://codeforces.com/contest/938 今天写出了三题ovo ## C. Constructing Tests 多画几个图就能发现,对于 的正方形来说,要使得 $m\
阅读全文
摘要:# Educational Codeforces Round 36 (Rated for Div. 2) https://codeforces.com/contest/915 浓浓ds味的一场edu ## A. Garden 找最大因子 ```CC #include using namespace
阅读全文
摘要:# Codeforces Round 889 (Div. 2) A-D https://codeforces.com/contest/1855 打的太烂了,决心好好复盘 ## A. Dalton the Teacher ```CC #include using namespace std; void
阅读全文
摘要:# Codeforces Round 618 (Div. 2) https://codeforces.com/contest/1300 ## A. Non-zero 要求和,积都不为0,则先把全部0操作一次,然后再check 和是否为0,是的话再对任意数操作一次即可。 ```CC #include
阅读全文
摘要:# Educational Codeforces Round 35 (Rated for Div. 2) https://codeforces.com/contest/911 ## A. Nearest Minimums ```CC #include using namespace std; con
阅读全文
摘要:# Educational Codeforces Round 33 (Rated for Div. 2) https://codeforces.com/contest/893 昨日vp,今日补完F D贪心,思路值得学习; E组合数学推式子,式子不难,关键在于模型抽象 F主席树,调了老半天,关键在于要
阅读全文
摘要:# Educational Codeforces Round 29 https://codeforces.com/contest/863 复健训练 太久没练直接变身傻逼(难道原来就不是吗,笑) ## A. Quasi-palindrome 直接去除后缀0即可(WA了两发评价为弱智) ```CC #i
阅读全文
摘要:Codeforces Round 858 (Div. 2) https://codeforces.com/contest/1806 现放一下ABC,然后明天补(大概) 坐牢的时候看了一下F1,感觉应该是一个蛮有意思的题?但是我不会做。 B卡了有一阵子,C想了好久快结束了才做出了(是我很不确定的分类讨
阅读全文
摘要:CF1700板刷 前言: vp edu的时候逐渐力不从心,于是滚回来板刷1700 qwq https://codeforces.com/problemset?order=BY_RATING_ASC&tags=1700- log 3.5 466C 3.6 474D 3.7 339D,126B 3.8
阅读全文
摘要:Educational Codeforces Round 26 https://codeforces.com/contest/837 D 差一点,补了E A. Text Volume #include <bits/stdc++.h> using namespace std; int main ()
阅读全文
摘要:Educational Codeforces Round 25 https://codeforces.com/contest/825 ABCD没有什么意思,阅读理解题比较无聊((( EFG不难写,但是思维比较巧,知道就是知道,不知道就写不出emm A. Binary Protocol #includ
阅读全文
摘要:Educational Codeforces Round 24 https://codeforces.com/contest/818 有些题就是从某个角度想好复杂,不好实现,但是换一种思考方式,从另一个角度想就会豁然开朗,也很好写。这么讲很抽象,但是做题的时候会发现,自己是在一方向上耗死了,结果一看
阅读全文
摘要:Educational Codeforces Round 23 https://codeforces.com/contest/817 数据结构专场。 A. Treasure Hunt #include <bits/stdc++.h> using namespace std; int main ()
阅读全文
摘要:Educational Codeforces Round 22 艰难 https://codeforces.com/contest/813 A. The Contest #include <bits/stdc++.h> #define ll long long using namespace std
阅读全文