Remove debug output form knapsack.

This commit is contained in:
Danila Fedorin 2020-12-05 00:06:11 -08:00
parent 3d45bd3da3
commit 7826194b37

View File

@ -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]