Codeforces
OJ——Codeforces
NephrenRuqInsania
这个作者很懒,什么都没留下…
展开
-
Codeforces Round 627(div.3)
day1 21:06 开始看题了!!! T1大水题 判断一下积偶性就可以了,如果全一样就是yes,要不然就是no 21:09 A了,开T2 21:11 T2也不难啊(flag) 就是判断一下有没有不相邻的相同的两个数就可以啦 21:15 A了(flag+1),开T3 21:17 T3考虑贪心,我们发现,往左跳是没有用的,所以我们只用关注R的情况就可以了 所以答案就是任意两个R之间的距离的最大值,注...原创 2020-03-14 13:06:39 · 192 阅读 · 0 评论 -
[CF35E] Parade
No Great Victory anniversary in Berland has ever passed without the war parade. This year is not an exception. That’s why the preparations are on in full strength. Tanks are building a line, artillery...原创 2020-01-25 15:26:16 · 256 阅读 · 0 评论 -
[CF19D] Points
Pete and Bob invented a new interesting game. Bob takes a sheet of paper and locates a Cartesian coordinate system on it as follows: point (0, 0) is located in the bottom-left corner, Ox axis is direc...原创 2020-01-24 13:25:05 · 508 阅读 · 0 评论