Remove debug output form knapsack.
This commit is contained in:
parent
3d45bd3da3
commit
7826194b37
|
@ -27,7 +27,6 @@ class Array(T)
|
||||||
value = compute.call(size, budget)
|
value = compute.call(size, budget)
|
||||||
i = size
|
i = size
|
||||||
items = [] of T
|
items = [] of T
|
||||||
puts bt
|
|
||||||
while i != 0
|
while i != 0
|
||||||
if bt[{i, budget}]
|
if bt[{i, budget}]
|
||||||
items << self[i-1]
|
items << self[i-1]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user