提交 167ad02e 编写于 作者: GreyZeng's avatar GreyZeng

update

上级 fd367b89
package lintcode.medium;
// 笔记:
// 背包问题
//描述
// 在n个物品中挑选若干物品装入背包,最多能装多满?假设背包的大小为m,每个物品的大小为A_{i}A
// i
......@@ -88,7 +90,7 @@ public class LintCode_0092_Backpack {
return dp[m];
}
public static void main(String[] args) {
int m = 10;
int[] A = {3, 4, 8, 5};
......
package lintcode.medium;
// 笔记:
// 背包问题
//描述
// 有 n 个物品和一个大小为 m 的背包. 给定数组 A 表示每个物品的大小和数组 V 表示每个物品的价值.
//
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册