asdo
This commit is contained in:
parent
2830545cae
commit
7624ab1396
@ -6,7 +6,7 @@ def maximum_value(maximum_weight, items):
|
||||
|
||||
def maximum_value_with_items(maximum_weight, items):
|
||||
dv = []
|
||||
for _ in range(maximum_weight):
|
||||
for _ in range(maximum_weight + 1):
|
||||
dv.append((0, []))
|
||||
|
||||
for item in items:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user