From 7826194b372f5f89f1f523364619284423376392 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 5 Dec 2020 00:06:11 -0800 Subject: [PATCH] Remove debug output form knapsack. --- knapsack.cr | 1 - 1 file changed, 1 deletion(-) diff --git a/knapsack.cr b/knapsack.cr index 17141e2..8f2d5d1 100644 --- a/knapsack.cr +++ b/knapsack.cr @@ -27,7 +27,6 @@ class Array(T) value = compute.call(size, budget) i = size items = [] of T - puts bt while i != 0 if bt[{i, budget}] items << self[i-1]