"adventofcode2022/day08"
"adventofcode2022/day09"
"adventofcode2022/day10"
+ "adventofcode2022/day11"
+
)
case 10:
fmt.Printf("part 1: %d\n", day10.Part1(utils.Readfile(d)))
fmt.Printf("part 2: %s\n", day10.Part2(utils.Readfile(d)))
+ case 11:
+ fmt.Printf("part 1: %d\n", day11.Part1(utils.Readfile(d)))
+ fmt.Printf("part 2: %d\n", day11.Part2(utils.Readfile(d)))
default:
panic(fmt.Errorf("no such day: %d", d))
}
// Reads day from os.Args.
func day() int {
- latest := 9
+ latest := 10
if len(os.Args) == 1 {
return latest
}