背包问题
一七得七
这个作者很懒,什么都没留下…
展开
-
hdu 2602 Bone Collector 01背包
hdu 2602 Bone Collector 01背包 Problem Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , co原创 2016-07-31 09:26:32 · 291 阅读 · 0 评论 -
hdu 1203 I NEED A OFFER! 01背包
hdu 1203 I NEED A OFFER! 01背包 Problem Description Speakless很早就想出国,现在他已经考完了所有需要的考试,准备了所有要准备的材料,于是,便需要去申请学校了。要申请国外的任何大学,你都要交纳一定的申请费用,这可是很惊人的。Speakless没有多少钱,总共只攒了n万美元。他将在m个学校中选择若干的(当然要在他的经济承受范围内)。每个学原创 2016-07-31 09:34:52 · 364 阅读 · 0 评论 -
hdu1114Piggy-Bank 完全背包
Problem Description Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes from Irreversibly Bound Money (IBM). The原创 2016-07-31 10:10:27 · 358 阅读 · 0 评论 -
poj 2229 Sumsets 完全背包
Description Farmer John commanded his cows to search for different sets of numbers that sum to a given number. The cows use only numbers that are an integer power of 2. Here are the possible sets of原创 2016-07-31 11:41:28 · 334 阅读 · 0 评论 -
hdu 2191 多重背包
Problem Description 急!灾区的食物依然短缺! 为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。 请问:你用有限的资金最多能采购多少公斤粮食呢? 后记: 人生是一个充满了变数的生命过程,天灾、人祸、病痛是我们生命历程中不可预知的威胁。 月有阴晴圆缺原创 2016-07-31 11:50:44 · 389 阅读 · 0 评论 -
hdu1171 Big Event in HDU(背包)
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1171 Big Event in HDU Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 37337 Accepted Su原创 2016-11-17 18:47:43 · 223 阅读 · 0 评论