From: Ben Harris Date: Tue, 28 May 2024 08:26:34 +0000 (+0100) Subject: 19a even faster X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=aef961f2aac9a33290b1cf329298a2d9d7e5b290;p=aoc-2022.git 19a even faster Merging the two "is it worth it?" checks. --- diff --git a/19/19a.bqn b/19/19a.bqn index d7f05cb..4a60aa3 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