day21: example

This commit is contained in:
efim
2023-12-21 08:29:08 +00:00
parent 53930e66ac
commit 5b0f1ab750
4 changed files with 157 additions and 3 deletions

View File

@@ -4,15 +4,15 @@ import (
"log"
"time"
"sunshine.industries/aoc2023/day20"
"sunshine.industries/aoc2023/day21"
)
func main() {
startTime := time.Now()
log.Print("> starting run:")
result := day20.Run()
log.Printf("\n\nday20 result: %d\n****\n", result)
result := day21.Run()
log.Printf("\n\nday21 result: %d\n****\n", result)
endTime := time.Now()
diff := endTime.Sub(startTime)
log.Printf("execution took %s", diff.String())