Compilation error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Compilation error

why this code made a compilation error https://code.sololearn.com/cFEZ28d9ghge/?ref=app

8th Mar 2018, 10:47 PM
wolfsan
wolfsan - avatar
9 Answers
+ 20
You miss a comma in the 2D array "grid". Look: https://code.sololearn.com/copHFV6ap99v/?ref=app
9th Mar 2018, 6:34 AM
LukArToDo
LukArToDo - avatar
+ 12
sometimes connection gets lost , might thatswhy error occured //working for me , 5000
9th Mar 2018, 3:09 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 11
Usually compiler write to us which kind of error we have 😃
8th Mar 2018, 11:32 PM
Vukan
Vukan - avatar
+ 8
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.
8th Mar 2018, 11:10 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 4
Works well for me! (Output is 5000)
8th Mar 2018, 10:49 PM
D B
D B - avatar
+ 3
output 5000 working
8th Mar 2018, 10:52 PM
Kshitij
Kshitij - avatar
+ 3
It is working without any error!
9th Mar 2018, 1:48 AM
Naveen Maurya
Naveen Maurya - avatar
+ 2
https://code.sololearn.com/c3AsLcN3QH21/?ref=app what about this. is it here some error in the code?
9th Mar 2018, 4:55 AM
wolfsan
wolfsan - avatar
0
It is working well for me
9th Mar 2018, 1:52 PM
Ravi Chythanya
Ravi Chythanya - avatar