随笔分类 -  贪心

POJ 3253 Fence Repair 贪心 优先级队列
摘要:Fence Repair Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 77001 Accepted: 25185 Description Farmer John wants to repair a small length o 阅读全文
posted @ 2020-02-05 17:35 带你AK,带你飞 阅读(140) 评论(0) 推荐(0)
POJ 2431 Expedition 贪心 优先级队列
摘要:Expedition Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 30702 Accepted: 8457 Description A group of cows grabbed a truck and ventured on 阅读全文
posted @ 2020-02-05 17:06 带你AK,带你飞 阅读(149) 评论(0) 推荐(0)
POJ 3253 Fence Repair 贪心
摘要:Fence Repair Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 76946 Accepted: 25167 Description Farmer John wants to repair a small length o 阅读全文
posted @ 2020-02-02 19:08 带你AK,带你飞 阅读(195) 评论(0) 推荐(0)
poj 3069 Saruman's Army
摘要:Saruman's Army Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 20626 Accepted: 9988 Description Saruman the White must lead his army along 阅读全文
posted @ 2020-02-01 21:19 带你AK,带你飞 阅读(119) 评论(0) 推荐(0)
白书 区间调度问题
摘要:问题主题:区间调度问题 问题描述: 有n项工作,每项工作分别在si开始,ti结束。对每项工作,你都可以选择参加或不参加,但选择了参加某项工作就必须至始至终参加全程参与,即参与工作的时间段不能有重叠(即使开始的时间和结束的时间重叠都不行)。 限制条件: 1<=n<=100000 1<=si<=ti,= 阅读全文
posted @ 2020-02-01 08:37 带你AK,带你飞 阅读(150) 评论(0) 推荐(0)
POJ 3617 Best Cow Line 贪心
摘要:Best Cow Line Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 46960 Accepted: 11949 Description FJ is about to take his N (1 ≤ N ≤ 2,000) c 阅读全文
posted @ 2020-01-31 12:01 带你AK,带你飞 阅读(113) 评论(0) 推荐(0)