asdo
This commit is contained in:
parent
1091232079
commit
3e8e131855
@ -10,7 +10,7 @@ def maximum_value_with_items(maximum_weight, items):
|
||||
dv.append((0, []))
|
||||
|
||||
for item in items:
|
||||
vaha = item["veight"]
|
||||
vaha = item["weight"]
|
||||
hodnota = item["value"]
|
||||
|
||||
for a in range(maximum_weight, vaha - 1, -1):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user