This commit is contained in:
2025-01-14 15:33:54 +00:00
parent 225d74acf9
commit 6504b8d78c
2 changed files with 41 additions and 10 deletions

View File

@@ -26,6 +26,7 @@ import (
"adventofcode2024/day17"
"adventofcode2024/day18"
"adventofcode2024/day19"
"adventofcode2024/day20"
"adventofcode2024/utils"
)
@@ -90,6 +91,9 @@ func main() {
case 19:
fmt.Printf("part 1: %d\n", day19.Part1(utils.Readfile(d)))
fmt.Printf("part 2: %d\n", day19.Part2(utils.Readfile(d)))
case 20:
fmt.Printf("part 1: %d\n", day20.Part1(utils.Readfile(d)))
fmt.Printf("part 2: %d\n", day20.Part2(utils.Readfile(d)))
default:
panic(fmt.Errorf("no such day: %d", d))
}