![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
优先队列
文章平均质量分 50
ZZZZone
这个作者很懒,什么都没留下…
展开
-
【AtCoder】 Grand Contest 018 C - Coins
C - Coins Time limit : 2sec / Memory limit : 256MB Score : 800 points Problem Statement There are X+Y+Z people, conveniently numbered 1 through X+Y+Z. Person i has Ai gold coins, B原创 2017-07-28 21:41:02 · 591 阅读 · 0 评论 -
[codeforces] 854C. Planning(优先队列)
[codeforces] 854C. Planning(优先队列)题目链接: C. Planning题目大意: 有nn个航班要按顺序依次起飞, 现在要推迟k秒, 每个飞机有一个停留花费cic_i每秒, 你可以安排这些飞机的起飞顺序, 但前提是不能早于原始起飞时间, 求最小花费。数据范围: (1 ≤ k ≤ n ≤ 300 000)(1 ≤ k ≤ n ≤ 300 000) (1 ≤ ci原创 2017-09-07 23:33:25 · 376 阅读 · 0 评论