+ 4
Advent of Code 2020. I stuck on day 11âźď¸Part One
My code: https://code.sololearn.com/c4a25A10a24a/?ref=app works correctly on an example input & outputs: 37âźď¸ but on puzzle input /too large for SL Playground/ makes a small mistake & outputs: 2107âźď¸, the correct output is: 2194. This challenge is very similar to John Conway's "Game of Life", so I used the well-tested procedures from that code. I can't find error in algorithm logic. Any suggestions are welcomeâď¸đ¤ https://code.sololearn.com/cSRT2cW553AY/?ref=app
1 Answer
+ 3
Victory âźď¸đ Already fixedâźď¸đ Stupid bugâźď¸Wrong I assumed that the board is squareâď¸đŹ