From 02368f0ea4adf4e2229705c71cf77a499ffa71bd Mon Sep 17 00:00:00 2001 From: Ruediger Ludwig Date: Mon, 23 Jan 2023 19:50:55 +0100 Subject: [PATCH] day23 compared a bit less --- advent/days/day23/solution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advent/days/day23/solution.py b/advent/days/day23/solution.py index cc39f29..a2c9eb2 100644 --- a/advent/days/day23/solution.py +++ b/advent/days/day23/solution.py @@ -143,7 +143,7 @@ class Ground: proposals: dict[Position, Position] = {} touched: set[Position] = set() for from_pos, last_touched in elves.items(): - if last_touched + 4 < round: + if last_touched + 4 <= round: continue found = False