摘要: 题:https://codeforces.com/contest/1236/problem/E 粗自:https://www.cnblogs.com/YSFAC/p/11715522.html #include<bits/stdc++.h> using namespace std; #define 阅读全文
posted @ 2019-10-25 11:18 starve_to_death 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 题:https://codeforces.com/contest/1251/problem/D 题意:给你n个单位需要满足达到的区间,再给个s,s是要分配给n的单位的量,当然∑l<=s,问经过分配后能够达到的最大中位数是多少 题解:二分找中位数,成立原因:代码注释 #include<bits/std 阅读全文
posted @ 2019-10-25 08:04 starve_to_death 阅读(634) 评论(0) 推荐(0) 编辑