2023 day 10

This commit is contained in:
tristan 2023-12-10 19:09:44 +00:00
parent bfcad28fff
commit a9fc4c9e60
9 changed files with 570 additions and 0 deletions

16
2023/10/part1/cmd/main.go Normal file
View file

@ -0,0 +1,16 @@
package main
import (
"bufio"
"os"
"git.tristans.cloud/tristan/aoc/2023/10/part1/lib"
)
func main() {
scanner := bufio.NewScanner(os.Stdin);
pipeMap := part1.ReadMap(scanner)
size := part1.LoopSize(pipeMap)
println(size / 2)
}