摘要: DescriptionIgnatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handin... 阅读全文
posted @ 2015-11-05 11:40 Wei_java 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 对于幸存的灾民来说,最急待解决的显然是温饱问题,救灾部队一边在组织人员全力打通交通,一边在组织采购粮食。现在假设下拨了一定数量的救灾经费要去市场采购大米(散装)。如果市场有m种大米,各种大米的单价和重量已知,请问,为了满足更多灾民的需求,最多能采购多少重量的大米呢?Input输入数据首先包含一个正整... 阅读全文
posted @ 2015-11-05 11:18 Wei_java 阅读(389) 评论(0) 推荐(0) 编辑