傳送門 A. Payment Without Change 簽到。 Code B. Minimize the Permutation 題意: 給出一個\(1\)~\(n\)的 ...
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 choose any length len from to n and perform the follow ...
2019-11-05 15:58 1 267 推薦指數:
傳送門 A. Payment Without Change 簽到。 Code B. Minimize the Permutation 題意: 給出一個\(1\)~\(n\)的 ...
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 test1 second memory limit per test256 megabytes This is the easy version of the problem. You can find the hard ...
There is a river of width n">nn. The left bank of the river is cell 0">00 and the right bank is c ...
C - Two Arrays 題目鏈接:https://codeforces.com/contest/1288/problem/C 題目: 題意:給你n,m,利用1~n之間的數(可重復)來組成長度為m的數組a,b,要求數組a非遞減,數組b非遞增,且a數組的數 ...
https://codeforces.com/contest/1256 A:Payment Without Change【思維】 題意:給你a個價值n的物品和b個價值1的物品,問是否存在取物方案使得價值為s 題解:min(s/n,a)*n+b>=s?YES:NO B ...
E. Yet Another Division Into Teams There are n students at your university. The programming skill o ...
Codeforces Round #739 (Div. 3) 可能是一開始大佬都寫F1去了,我在D寫完后發現F過的人數比E多了好多(個位數與十位數),以為F1比較簡單,就直接開F1了,但自己分類討論老是考慮不完整,導致罰時直接垮掉 本來已經不想開E了,結果發現延長了15分鍾,嘗試着開一開 ...