Skip to content

Commit 147b43c

Browse files
committed
Fix typo
1 parent 93a1306 commit 147b43c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aoc/2025/03/normal/03_normal.vn.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def best(row, n, start=0):
1515
if len(row) - start < n or n == 0: return 0
1616

1717
return max(
18-
best(row, n, start + 1), row[0] * 10**(n-1) + best(row[1:], start + 1, n - 1)
18+
best(row, n, start + 1),
19+
row[0] * 10**(n-1) + best(row[1:], start + 1, n - 1)
1920
)
2021

2122
for row in tqdm(inp):

0 commit comments

Comments
 (0)