Skip to content

Commit 7c76daf

Browse files
authored
Update 背包理论基础01背包-1.md
fixed a typo
1 parent 152bf49 commit 7c76daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/背包理论基础01背包-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ i 来表示物品、j表示背包容量。
114114

115115
背包容量为 2,只能放下物品1,背包里的价值为15。
116116

117-
背包容量为 3,上一行同一状态,背包只能放物品0,这次也可以选择物品1了,背包可以放物品2 或者 物品1,物品2价值更大,背包里的价值为20。
117+
背包容量为 3,上一行同一状态,背包只能放物品0,这次也可以选择物品1了,背包可以放物品1 或者 物品0,物品1价值更大,背包里的价值为20。
118118

119119
背包容量为 4,上一行同一状态,背包只能放物品0,这次也可以选择物品1了,背包都可都放下,背包价值为35。
120120

0 commit comments

Comments
 (0)