无谓的味道

导航

2015年8月13日 #

HDU1864 最大报销额

摘要: Description现有一笔经费可以报销一定额度的发票。允许报销的发票类型包括买图书(A类)、文具(B类)、差旅(C类),要求每张发票的总额不得超过1000元,每张发票上,单项物品的价值不得超过600元。现请你编写程序,在给出的一堆发票中找出可以报销的、不超过给定额度的最大报销额。Input测试输... 阅读全文

posted @ 2015-08-13 17:33 无谓的味道 阅读(149) 评论(0) 推荐(0) 编辑

HDU 1114 Piggy-Bank(完全背包)

摘要: DescriptionBefore ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes f... 阅读全文

posted @ 2015-08-13 15:54 无谓的味道 阅读(154) 评论(0) 推荐(0) 编辑

POJ 3624 Charm Bracelet

摘要: Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from theN(1 ≤... 阅读全文

posted @ 2015-08-13 14:43 无谓的味道 阅读(152) 评论(0) 推荐(0) 编辑

HDU 2955 Robberies

摘要: The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become t... 阅读全文

posted @ 2015-08-13 14:21 无谓的味道 阅读(163) 评论(0) 推荐(0) 编辑