From 21e605133a2080db6c25650517df7a86015dfda7 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 28 May 2024 09:17:30 +0100 Subject: [PATCH] 19a: much faster We now don't build a robot if our production rate of it resource is enough to build a new robot of the most expensive kind every minute. --- 19/19a.bqn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/19/19a.bqn b/19/19a.bqn index 04653f6..d7f05cb 100644 --- a/19/19a.bqn +++ b/19/19a.bqn @@ -28,7 +28,7 @@ EvalBlueprint←{𝕊 robot_costs: needed←(𝕩⊏robot_costs)-stock needed_time←1+0⌈⌈´⌈NtZ needed÷robots # Build a robot if there's time and we might need it. - (needed_time≤time)∧(𝕩⊑stock