Implement part 1 of day 12.

Part two is going to take 31 hours of computation, so I might need to
improve that.
This commit is contained in:
2018-12-12 11:30:45 +01:00
parent b245e0911d
commit fd3e509841
3 changed files with 183 additions and 7 deletions

34
2018/inputs/12.txt Normal file
View File

@@ -0,0 +1,34 @@
initial state: ####....#...######.###.#...##....#.###.#.###.......###.##..##........##..#.#.#..##.##...####.#..##.#
..#.. => .
#.#.# => #
#.### => #
.##.. => .
#.#.. => #
.#.#. => #
.###. => #
.#### => #
##... => #
#.##. => #
#..## => #
....# => .
###.# => .
##### => #
..... => .
..#.# => .
.#... => #
##.#. => .
.#.## => #
..##. => .
#...# => .
##.## => #
...#. => .
#..#. => .
..### => .
.##.# => .
#.... => .
.#..# => #
####. => .
...## => #
##..# => .
###.. => .