F. Economic Difficulties An electrical grid in Berland palaces consists of 2 grids: main and reserve. Wires in palaces are made of expensive ...
F. Coffee Varieties time limit per test second memory limit per test megabytes This is the easy version of the problem. You can find the hard version in the Div. contest. Both versions only differ in ...
2020-02-03 19:47 0 247 推荐指数:
F. Economic Difficulties An electrical grid in Berland palaces consists of 2 grids: main and reserve. Wires in palaces are made of expensive ...
Codeforces Round #616 (Div. 2)解题报告 A. Even But Not Even 找两个奇数就行了。 B. Array Sharpening 贪心+构造。 就从0开始往上走,看看最远能走到哪,看代码。 C. Mind Control 这道题题意 ...
F. Equalizing Two Strings You are given two strings s and t both of length n and both consisting of lowercase Latin letters. In one move, you can ...
E. Prefix Enlightenment time limit per test3 seconds memory limit per test256 megabytes There are ...
A:整个串数字和%2==0,末尾%2==1,不就是挑出来两个奇数吗。。 CF1291A B:由于只能变小不能变大,所以单升的必须满足a[i]>=i-1,单 ...
D. Irreducible Anagrams time limit per test2 seconds memory limit per test256 megabytes Let's call ...
C. Mind Control time limit per test1 second memory limit per test256 megabytes You and your n−1 fr ...
Codeforces Round #739 (Div. 3) 可能是一开始大佬都写F1去了,我在D写完后发现F过的人数比E多了好多(个位数与十位数),以为F1比较简单,就直接开F1了,但自己分类讨论老是考虑不完整,导致罚时直接垮掉 本来已经不想开E了,结果发现延长了15分钟,尝试着开一开 ...