cf
古语.
这个作者很懒,什么都没留下…
展开
-
CodeForces - 203B
One not particularly beautiful evening Valera got very bored. To amuse himself a little bit, he found the following game. He took a checkered white square piece of paper, consisting ofn × ncells. A...原创 2019-04-01 10:24:59 · 172 阅读 · 0 评论 -
CodeForces - 612D
在一个数轴上,给出n条线段。再给你一个整数k,请你找出所有能被任意k条线段同时覆盖的区间个数的最小值,并按从左到右的顺序输出每个区间。 Input 第一行给出两个正整数n和k(1 ≤ k ≤ n ≤ 106) —分别表示线段的数量和题目要求的k 下面n行每行两个整数li, ri( - 109 ≤ li ≤ ri ≤ 109) —表示第i条线段的左右端点。 请注意线段是无序给...原创 2019-04-02 09:03:37 · 181 阅读 · 0 评论