day18, example

This commit is contained in:
efim
2023-12-18 09:41:22 +00:00
parent 955bdc78c1
commit 49fc57029f
4 changed files with 275 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ import (
func Run() int {
fmt.Println("hello from day 17")
filename := "day17/example"
filename := "day17/input"
field := NewField(filename)
log.Printf("%+v\n", field)
@@ -140,7 +140,7 @@ func (p *PathSegmentEnd) NextDirections2() (next []Direction) {
next = append(next, p.lastDirection)
}
log.Printf("getting directions from %+v they are %+v", p, next)
// log.Printf("getting directions from %+v they are %+v", p, next)
return
}