day23 compared a bit less

This commit is contained in:
Ruediger Ludwig 2023-01-23 19:50:55 +01:00
parent 867a476c44
commit 02368f0ea4

View file

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