aboutsummaryrefslogtreecommitdiff
path: root/2021
diff options
context:
space:
mode:
Diffstat (limited to '2021')
-rw-r--r--2021/15/puzzles.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/2021/15/puzzles.py b/2021/15/puzzles.py
index dd19eef..8cdd19c 100644
--- a/2021/15/puzzles.py
+++ b/2021/15/puzzles.py
@@ -36,11 +36,11 @@ def elongate(grid: matrix[int]) -> matrix[int]:
def main() -> None:
with open("input", "r", encoding="utf-8") as f:
+ # START PART 1
data = read_int_matrix(f)
-
- # START PART 2
- data = elongate(data)
- # END PART 2
+ # END PART 1 START PART 2
+ data = elongate(read_int_matrix(f))
+ # END PART 2
X_UPPER = len(data)
Y_UPPER = len(data[0])