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分鍾,嘗試着開一開 ...