12 lines
209 B
Nim
12 lines
209 B
Nim
|
import day_loader, tables
|
||
|
|
||
|
proc solve_all() {.used.} =
|
||
|
for (_, solver) in solvers.pairs():
|
||
|
echo solver()
|
||
|
|
||
|
proc solve_for_day(n: int) {.used.} =
|
||
|
echo solvers[n]()
|
||
|
|
||
|
when isMainModule:
|
||
|
solve_for_day(2)
|