9 Answers
New AnswerYou miss a comma in the 2D array "grid". Look: https://code.sololearn.com/copHFV6ap99v/?ref=app
sometimes connection gets lost , might thatswhy error occured //working for me , 5000
As they said, it works fine. However, I've noticed lately when using the Code Playground that I get that error once in awhile even though there is no actual error. I believe it's something taking place on the server end when it's compiling and that's just the output you're getting fed back. That may also be why it doesn't feed you back any information on the compile error. Just my guess on it.
https://code.sololearn.com/c3AsLcN3QH21/?ref=app what about this. is it here some error in the code?
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message