文件名称:beibaowenti
介绍说明--下载内容均来自于网络,请自行研究使用
有N件物品和一个容量为V的背包。第i件物品的费用是c,价值是w。求解将哪些物品装入背包可使这些物品的费用总和不超过背包容量,且价值总和最大。-There are N items and a knapsack capacity of V' s. No. i is the cost of items c, the value of w. Solving items into the backpack which will enable the cost of these items does not exceed the sum of the capacity of backpack, and the sum of the maximum value.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
背包问题
........\背包.cpp
........\背包.cpp