Browse Source

add day12 outline

master
Alexander Avery 1 year ago
parent
commit
c036f9b381
  1. 13
      day12.go
  2. 1000
      input/12-1
  3. 1
      main.go
  4. 10
      main_test.go

13
day12.go

@ -0,0 +1,13 @@
package main
import "io"
type day12 struct{}
func (d day12) solve1(r io.Reader) string {
return "incomplete"
}
func (d day12) solve2(r io.Reader) string {
return "incomplete"
}

1000
input/12-1

File diff suppressed because it is too large

1
main.go

@ -31,6 +31,7 @@ var (
&day09{},
&day10{},
&day11{},
&day12{},
}
)

10
main_test.go

@ -191,5 +191,15 @@ ZZZ = (ZZZ, ZZZ)`,
#...#.....`,
ans1: "374",
},
{
// day 12
inp1: `???.### 1,1,3
.??..??...?##. 1,1,3
?#?#?#?#?#?#?#? 1,3,1,6
????.#...#... 4,1,1
????.######..#####. 1,6,5
?###???????? 3,2,1`,
ans1: "21",
},
}
)

Loading…
Cancel
Save