There was an error while loading. Please reload this page.
1 parent 93a1306 commit 147b43cCopy full SHA for 147b43c
1 file changed
aoc/2025/03/normal/03_normal.vn.py
@@ -15,7 +15,8 @@ def best(row, n, start=0):
15
if len(row) - start < n or n == 0: return 0
16
17
return max(
18
- best(row, n, start + 1), row[0] * 10**(n-1) + best(row[1:], start + 1, n - 1)
+ best(row, n, start + 1),
19
+ row[0] * 10**(n-1) + best(row[1:], start + 1, n - 1)
20
)
21
22
for row in tqdm(inp):
0 commit comments