Educational Codeforces Round 50 (Rated for Div. 2) 全题解
摘要:比赛链接https://codeforces.com/contest/1036A. Function Height题目大意n" role="presentation">nn个点,k" role="presentation">kk次操作,每次可以使一个点+1,...
阅读全文
Codeforces Round #504 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) ABCDEF题解
摘要:比赛链接https://codeforces.com/contest/1023ABCDEF题解A. Single Wildcard Pattern Matching题目大意给两个串S,T" role="presentation">S,TS,T,T" role...
阅读全文
Educational Codeforces Round 48 (Rated for Div. 2) (ABCD题解)
摘要:比赛链接https://codeforces.com/contest/1016A. Death Note题目大意有一本死亡笔记,一页可以写m" role="presentation">mm个名字。现在你要写n" role="presentation">nn天...
阅读全文
Codeforces Round #499 (Div. 2)
摘要:比赛链接https://codeforces.com/contest/1011题解A. Stages题目大意给定一个长度为n" role="presentation">nn的字符串S" role="presentation">SS,找出k" role="pr...
阅读全文
Codeforces Round #487 (Div. 2)
摘要:比赛链接http://codeforces.com/contest/989吐槽?公告写的好,故事写的好啊。两题滚粗,凭借着手速与hack +1:-1成功涨了一波rating……还是我太菜了。下面只有ABC三题题解,想找DE题解的dalao可以换一篇了,为了保...
阅读全文
Educational Codeforces Round 41 (Rated for Div. 2)
摘要:比赛链接http://codeforces.com/contest/961A. Tetris题目大意长度为n" role="presentation">nn的序列,操作为:在ai" role="presentation">aiai位置+1,如果序列的每个位置...
阅读全文
Codeforces Round #462 (Div. 2)
摘要:由于太菜只能做出前两题……A. A Compatible Pair思路:暴力枚举。 代码:#include #include const int maxn=100;const long long inf=0x3f3f3f3f3f3f3f3f;int read...
阅读全文
[Codeforces Round #452 (Div. 2)] Dividing the numbers
摘要:Petya has n integers: 1, 2, 3, ..., n. He wants to split these integers in two non-empty groups in such a way that the absolute d...
阅读全文
[Codeforces Round #452 (Div. 2)] Splitting in Teams
摘要:There were n groups of students which came to write a training contest. A group is either one person who can write the contest wi...
阅读全文