+ 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 Réponse
+ 3
Victory ‼️😃 Already fixed‼️👍 Stupid bug‼️Wrong I assumed that the board is square⁉️😬