Skip to content

Commit b0fa093

Browse files
committed
Cleaning
1 parent 2a58757 commit b0fa093

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# https://adventofcode.com/2025/day/3
33
# 03/12/2025
44

5-
from tqdm.auto import tqdm
65
from functools import cache
76

87
with open("input.txt", "r") as f:
@@ -16,16 +15,15 @@ def best(row, n, start=0):
1615
return 0
1716

1817
return max(
19-
best(row, n, start + 1),
20-
row[start] * 10**(n-1) + best(row, n - 1, start + 1)
18+
best(row, n, start + 1),
19+
row[start] * 10**(n - 1) + best(row, n - 1, start + 1)
2120
)
2221

23-
for row in tqdm(inp):
22+
for row in inp:
2423
row = tuple(map(int, row.strip()))
2524
res1 += best(row, 2)
2625
res2 += best(row, 12)
27-
28-
26+
2927

3028
print(res1, res2)
3129

aoc/2025/03/animated/03_animated.vn.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)