![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
Eminem1147
NJU SE Master
展开
-
入门贪心(2187)
老人是真饿了Problem Description对于幸存的灾民来说,最急待解决的显然是温饱问题,救灾部队一边在组织人员全力打通交通,一边在组织采购粮食。现在假设下拨了一定数量的救灾经费要去市场采购大米(散装)。如果市场有m种大米,各种大米的单价和重量已知,请问,为了满足更多灾民的需求,最多能采购多少重量的大米呢? Input输入数据首先包含一个正整数C,表原创 2016-03-16 22:21:11 · 216 阅读 · 0 评论 -
Atcoder 056 D 贪心+二分
D - No NeedTime limit : 2sec / Memory limit : 256MBScore : 600 pointsProblem StatementAtCoDeer the deer has N cards with positive integers written on them. The number on the i-th原创 2017-03-22 16:06:07 · 488 阅读 · 0 评论 -
贪心(POJ 1700)
Crossing RiverTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 14862 Accepted: 5674DescriptionA group of N people wishes to go across a river with only原创 2017-06-30 23:52:17 · 163 阅读 · 0 评论 -
贪心 + 数学 (POJ 1862)
StripiesTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 17148 Accepted: 7764DescriptionOur chemical biologists have invented a new very useful form of原创 2017-07-08 15:57:26 · 351 阅读 · 0 评论 -
两个费用的贪心(HDOJ 4864)
TaskTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7328 Accepted Submission(s): 1939Problem DescriptionToday the company原创 2017-07-09 13:36:42 · 403 阅读 · 0 评论 -
贪心(HDOJ 4221)
Greedy?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2431 Accepted Submission(s): 811Problem DescriptioniSea is going t原创 2017-07-09 15:31:45 · 287 阅读 · 0 评论