Starting day15

This commit is contained in:
Daniel Flanagan 2021-12-15 11:44:03 -06:00
parent 3926ea400b
commit f6fd5d2fc2
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
1 changed files with 18 additions and 0 deletions

18
2021/nim/day15.nim Normal file
View File

@ -0,0 +1,18 @@
import ./common, std/[sequtils, algorithm, sugar, sets, strformat, strutils, tables]
proc p1(input: Lines): uint64 =
return 0
const input = """
1163751742
1381373672
2136511328
3694931569
7463417111
1319128137
1359912421
3125421639
1293138521
2311944581
""".strip().split('\n').mapIt(it.strip)
doDayX 15, n => n.loadInput, p1, p1, (input, 0'u64, 0'u64)