Skip to content

Commit e11bc80

Browse files
committed
Update 03.Knapsack-Problem-03.md
1 parent 49ec60b commit e11bc80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Contents/10.Dynamic-Programming/04.Knapsack-Problem/03.Knapsack-Problem-03.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> **多重背包问题**:有 $n$ 种物品和一个最多能装重量为 $W$ 的背包,第 $i$ 种物品的重量为 $weight[i]$,价值为 $value[i]$,件数为 $count[i]$。请问在总重量不超过背包载重上限的情况下,能装入背包的最大价值是多少?
44
5-
![](https://qcdn.itcharge.cn/images/202303191809178.png)
5+
![多重背包问题](https://qcdn.itcharge.cn/images/20240514111701.png)
66

77
### 4.1 多重背包问题基本思路
88

0 commit comments

Comments
 (0)