Browse Source

add day 13 outline

master
Alexander Avery 11 months ago
parent
commit
a195c000c5
  1. 13
      day13.go
  2. 1387
      input/13-1
  3. 1
      main.go
  4. 19
      main_test.go

13
day13.go

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

1387
input/13-1

File diff suppressed because it is too large

1
main.go

@ -32,6 +32,7 @@ var (
&day10{},
&day11{},
&day12{},
&day13{},
}
)

19
main_test.go

@ -201,5 +201,24 @@ ZZZ = (ZZZ, ZZZ)`,
?###???????? 3,2,1`,
ans1: "21",
},
{
// day 13
inp1: `#.##..##.
..#.##.#.
##......#
##......#
..#.##.#.
..##..##.
#.#.##.#.
#...##..#
#....#..#
..##..###
#####.##.
#####.##.
..##..###
#....#..# `,
ans1: "405",
},
}
)

Loading…
Cancel
Save