r/adventofcode • u/SinisterMJ • Dec 17 '20
Help - SOLVED! [2020 Day 17 (Part 1)] Sample input wrong?
Before any cycles:
z=0
.#.
..#
###
After 1 cycle:
z=-1
#..
..#
.#.
z=0
#.#
.##
.#.
z=1
#..
..#
.#.Why isn't generation 1 cycle already a 5x5x3 system? Why is in z=-1 the top left active? It only has 1 active neighbour (top row middle in z=0)? I don't understand the sample input already how that works.
143
Upvotes
View all comments
Show parent comment
1
u/KrzaQ2 Dec 17 '20 edited Dec 17 '20
So did I. And it took me coming here to see that the example was deceptive and there was no bug in my implementation.