General mess! Might pick at this over the next year.

This commit is contained in:
🐙PiperYxzzy
2024-01-01 20:53:12 +02:00
parent c7bb6c0e12
commit 8df60ae0df
9 changed files with 540 additions and 0 deletions

24
2023/23/code.go Normal file
View File

@@ -0,0 +1,24 @@
package main
import (
"github.com/jpillora/puzzler/harness/aoc"
)
func main() {
aoc.Harness(run)
}
// on code change, run will be executed 4 times:
// 1. with: false (part1), and example input
// 2. with: true (part2), and example input
// 3. with: false (part1), and user input
// 4. with: true (part2), and user input
// the return value of each run is printed to stdout
func run(part2 bool, input string) any {
// when you're ready to do part 2, remove this "not implemented" block
if part2 {
return "not implemented"
}
// solve part 1 here
return 42
}