Try Again

随笔分类 -  队列

摘要:链接:https://www.nowcoder.com/acm/contest/112/A 现有n组人,m个地点,给出每组人的人数,每个地点可容纳的最大人数和选择的价格 要求一种方式,使得每组人都到一个各不相同的地点,最小化选择的价格 每个队伍的人都要在同一个地方每个地方只能有一个队伍 要求一种方式 阅读全文
posted @ 2018-05-11 21:45 十年换你一句好久不见 阅读(399) 评论(0) 推荐(0)
摘要:有若干个活动,第i个开始时间和结束时间是[Si,fi),同一个教室安排的活动之间不能交叠,求要安排所有活动,最少需要几个教室? Input Output Input示例 Output示例 阅读全文
posted @ 2018-04-30 19:32 十年换你一句好久不见 阅读(302) 评论(0) 推荐(0)
摘要:B. Ordering Pizza It's another Start[c]up finals, and that means there is pizza to order for the onsite contestants. There are only 2 types of pizza ( 阅读全文
posted @ 2017-10-10 16:07 十年换你一句好久不见 阅读(806) 评论(0) 推荐(0)
摘要:Fence Repair Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 51346 Accepted: 16857 Description Farmer John wants to repair a small length o 阅读全文
posted @ 2017-08-01 16:08 十年换你一句好久不见 阅读(260) 评论(0) 推荐(0)
摘要:Alisha’s Party Time Limit: 1 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?pid=5437 Description Princess Alisha invites her frie 阅读全文
posted @ 2017-05-20 11:44 十年换你一句好久不见 阅读(268) 评论(0) 推荐(0)