链接: https://codeforces.com/contest/1241/problem/C 题意: You are an environmental activist at heart but the reality is harsh and you are just ...
目录 Contest Info Solutions A. Save the Nature B. Sequence Sorting C. Paint the Tree D. Stack Exterminable Arrays Contest Info Practice Link https: codeforces.com contest Solved A B C D E F O O O O O 在 ...
2019-10-10 09:33 0 342 推荐指数:
链接: https://codeforces.com/contest/1241/problem/C 题意: You are an environmental activist at heart but the reality is harsh and you are just ...
这场题目设置有点问题啊,难度:Div.2 A->Div.2 B->Div.2 D->Div.2 C->Div.2 D->Div.1 D-> Div.1 E-> ...
传送门 A. Bad Ugly Numbers 233333。 Code B. Maximums 从前往后依次搞即可。 Code C. Permutati ...
A. Two Rival Students B. Magic Stick C. Dominated Subarray Description 给出一个序列串,求满足下述要求的最短子串序列。 ...
Codeforces Global Round 17 A. Anti Light's Cell Guessing 坑点:\(n=1,m=1\) 时答案为 \(0\) 。 其他情况:当 \(n=1\) 或 \(m=1\) 时,只需要取端点即可。其他情况只需要两个点,也是取两个端点,把离一个点 ...
睡眠不足啊,午睡也没补好,马上迎来又一场CF。 不做人了,我做鬼。 上次不用样例检验吃了大亏。 这次不管怎么样,都用样例检验一遍。 【A】 模拟题。因为有延误的问题,因此不一定按照期望时间表 ...
Codeforces Round #569 题解 CF1179A Valeriy and Deque 有一个双端队列,每次取队首两个值,将较小值移动到队尾,较大值位置不变。多组询问求第\(m\)次操作时队首两个数。 显然\(O(n)\)次以内队首变成了最大值,之后就循环了,暴力前 ...
CodeForces Global Round 1 CF新的比赛呢(虽然没啥区别)!这种报名的人多的比赛涨分是真的快。。。。 所以就写下题解吧。 A. Parity 太简单了,随便模拟一下就完了。 B. Tape 显然就是先找一个长的把所有的全部覆盖,然后可以在上面丢掉\(k-1\)段 ...