+ 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āļøš¬