2020-12-02 21:33:18 -06:00
|
|
|
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:
|
2020-12-09 09:37:54 -06:00
|
|
|
# solve_all()
|
2020-12-14 13:01:58 -06:00
|
|
|
solve_for_day(14)
|