![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
endinggy0
这个作者很懒,什么都没留下…
展开
-
贪心--Doing Homework again--HDU1789
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 handing in the homework. If Ignatius hands in the homework after the deadline, the teacher will reduce his scor原创 2020-08-28 22:37:04 · 96 阅读 · 0 评论 -
贪心--今年暑假不AC--HDU2037
题目描述“今年暑假不AC?”“是的。”“那你干什么呢?”“看世界杯呀,笨蛋!”“@#$%^&*%…”确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电视了。作为球迷,一定想看尽量多的完整的比赛,当然,作为新时代的好青年,你一定还会看一些其它的节目,比如新闻联播(永远不要忘记关心国家大事)、非常6+7、超级女生,以及王小丫的《开心辞典》等等,假设你已经知道了所有你喜欢看的电视节目的转播时间表,你会合理安排吗?(目标是能看尽量多的完整节目)Input输入数据原创 2020-08-28 22:05:50 · 105 阅读 · 0 评论 -
贪心--Crossing River--POJ1700
DescriptionA group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangement must be arranged in order to row the boat back and forth so that all people may cross. Each pers原创 2020-08-28 21:50:00 · 88 阅读 · 0 评论 -
贪心--Packets--POJ1017
DescriptionA factory produces products packed in square packets of the same height h and of the sizes 11, 22, 33, 44, 55, 66. These products are always delivered to customers in the square parcels of the same height h as the products have and of the size原创 2020-08-28 20:39:41 · 75 阅读 · 0 评论 -
贪心--Moving Tables--HDU1050
DescriptionThe famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure.The floor has 200 rooms each on the north side and south side along the corridor. Recently the Company made a plan to ref原创 2020-08-28 09:56:49 · 132 阅读 · 0 评论 -
贪心--FatMouse‘ Trade--HDU1009
DescriptionFatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean.The warehouse has N rooms. The i-th room contains J[i] pounds of JavaBeans and requires F[i] pounds of cat food.原创 2020-08-28 09:02:46 · 92 阅读 · 0 评论