day9, part2

This commit is contained in:
efim
2023-12-09 16:16:18 +00:00
parent 162d0d9ebf
commit 3919a70d09
2 changed files with 51 additions and 23 deletions

13
main.go
View File

@@ -9,17 +9,6 @@ import (
func main() {
log.Print("> starting run:")
// line := "0 3 6 9 12 15"
// line := "1 3 6 10 15 21"
// line := "10 13 16 21 30 45"
// seq := day9.CreateSequence(line)
// fmt.Println(seq.String())
// fmt.Printf("got %+v \n", seq)
// fmt.Printf("%s\n", seq.String())
// fmt.Printf("next value is %d\n", seq.Next())
result := day9.Run()
result := day9.Run2()
log.Printf("day9 result: %d\n****\n", result)
}