背包
文章平均质量分 80
坏坏的薯片
这个作者很懒,什么都没留下…
展开
-
hdu 3466 Proud Merchants
问题描述 Recently, iSea went to an ancient country. For such a long time, it was the most wealthy and powerful kingdom in the world. As a result, the people in this country are still very proud even if原创 2016-01-09 17:58:33 · 185 阅读 · 0 评论 -
hdu 1171 D - Big Event in HDU
问题描述 Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don't know that Computer College had ever been split into Computer College and Software College in原创 2015-12-28 13:09:25 · 241 阅读 · 0 评论 -
hdu 2191 C - 悼念512汶川大地震遇难同胞――珍惜现在,感恩生活
问题描述 急!灾区的食物依然短缺! 为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。 请问:你用有限的资金最多能采购多少公斤粮食呢? 后记: 人生是一个充满了变数的生命过程,天灾、人祸、病痛是我们生命历程中不可预知的威胁。 月有阴晴圆缺,人有旦夕祸福原创 2015-12-27 23:34:30 · 782 阅读 · 0 评论 -
poj 2184 Cow Exhibition
问题描述 "Fat and docile, big and dumb, they look so stupid, they aren't much fun..." - Cows with Guns by Dana Lyons The cows want to prove to the public that they are both smart and fun. In o原创 2016-04-04 12:18:13 · 221 阅读 · 0 评论 -
Space Elevator poj 2392(多重背包)
问题描述 The cows are going to space! They plan to achieve orbit by building a sort of space elevator: a giant tower of blocks. They have K (1 <= K <= 400) different types of blocks with which to build原创 2016-06-25 21:08:27 · 179 阅读 · 0 评论 -
poj 1014(多重背包讲解)
问题描述 Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles. This would be easy if all the marbles had th原创 2016-06-26 15:07:04 · 755 阅读 · 2 评论 -
Cash Machine poj 1276(多重背包)
问题描述 A Bank plans to install a machine for cash withdrawal. The machine is able to deliver appropriate @ bills for a requested cash amount. The machine uses exactly N distinct bill denominations, s原创 2016-06-26 17:18:15 · 173 阅读 · 0 评论 -
Washing Clothes poj 3211(01背包)
问题描述 Dearboy was so busy recently that now he has piles of clothes to wash. Luckily, he has a beautiful and hard-working girlfriend to help him. The clothes are in varieties of colors but each pi原创 2016-06-26 19:23:22 · 331 阅读 · 0 评论