随笔分类 -  比赛--codeforces

摘要:~~这里没有翻译~~ "Codeforces Round 545 (Div. 1)" T1 对于每行每列分别离散化,求出大于这个位置的数字的个数即可。 cpp include using namespace std; typedef long long ll; const int maxn(3e5 阅读全文
posted @ 2019-03-19 20:29 Cyhlnj 阅读(245) 评论(0) 推荐(0)
摘要:"Codeforces Global Round 1" A 模拟即可 cpp include using namespace std; typedef long long ll; const int maxn(1e6 + 5); int n, m, c[maxn], t[maxn]; ll ans, 阅读全文
posted @ 2019-02-13 16:24 Cyhlnj 阅读(163) 评论(0) 推荐(0)
摘要:人生中第三次$CF$。。。 考试中切了$A$~$E$ $F$题会做没时间写 题解 A:Points on the line 题意 给定一个数列,删最小的数,使最大差不大于一个定值 Sol 排序后选的一定是段连续的区间,枚举左右端点即可 ~~手速慢了233~~ cpp include define R 阅读全文
posted @ 2018-02-25 08:33 Cyhlnj 阅读(326) 评论(2) 推荐(0)