day07 - useless if-statement

This commit is contained in:
Stefan Harmuth 2025-12-07 07:08:56 +01:00
parent 553016c043
commit f6f2e1344b
2 changed files with 0 additions and 3 deletions

View File

@ -17,9 +17,6 @@ class Day(AOCDay):
] ]
def get_timeline_count(self, start: Coordinate, grid: Grid) -> int: def get_timeline_count(self, start: Coordinate, grid: Grid) -> int:
if not grid.isWithinBoundaries(start):
return 1
while not grid.get(start) and grid.isWithinBoundaries(start): while not grid.get(start) and grid.isWithinBoundaries(start):
start += (0, 1) start += (0, 1)

0
main.py Normal file → Executable file
View File