摘要: Problem Description 现有一笔经费可以报销一定额度的发票。允许报销的发票类型包括买图书(A类)、文具(B类)、差旅(C类),要求每张发票的总额不得超过1000元,每张发票上,单项物品的价值不得超过600元。现请你编写程序,在给出的一堆发票中找出可以报销的、不超过给定额度的最大报销额 阅读全文
posted @ 2019-05-12 20:35 彩虹色 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Problem Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but 阅读全文
posted @ 2019-05-12 19:21 彩虹色 阅读(190) 评论(0) 推荐(0) 编辑