diff --git a/2020/src/aoc2020.nim b/2020/src/aoc2020.nim index 282435e..73e4776 100644 --- a/2020/src/aoc2020.nim +++ b/2020/src/aoc2020.nim @@ -9,4 +9,4 @@ proc solve_for_day(n: int) {.used.} = when isMainModule: # solve_all() - solve_for_day(6) + solve_for_day(7) diff --git a/2020/src/day_loader.nim b/2020/src/day_loader.nim index 12cf9de..521967d 100644 --- a/2020/src/day_loader.nim +++ b/2020/src/day_loader.nim @@ -3,7 +3,7 @@ import input_requestor, os, macros, strformat, tables macro loadDays(): untyped = var solver_str = "var solvers = {\n" result = newStmtList() - for day in 1..6: + for day in 1..25: let module = fmt"day{day}" if fileExists joinPath("src/", &"{module}.nim"): result.add parseStmt fmt"from {module} import nil"