day22, simple block code

This commit is contained in:
efim
2023-12-22 08:44:10 +00:00
parent 99c2269df8
commit 7b34b52e5e
6 changed files with 186 additions and 3 deletions

View File

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