+ 1

Time limit exceeded error

I have written a C++ code on the SOLOLEARN compiler but every time i run the code, it displays "Time Limit Exceeded" on the output screen. What's going on ?

8th Jan 2017, 4:27 AM
Yousaf
Yousaf - avatar
3 Antworten
+ 3
You probably have an infinite loop... or just a calcul which require more time than according by SoloLearn servers for running your code ;)
8th Jan 2017, 4:47 AM
visph
visph - avatar
+ 3
A code which never terminate won't run in code playground, right... Or a code waiting for an user interaction ( user inputs are simulated, so you must fill in all the entries in an unique multi-lines one, juste before the code start running )...
8th Jan 2017, 5:18 AM
visph
visph - avatar
+ 1
yes i do have an infinite loop. So that means my code won't run here ?
8th Jan 2017, 5:11 AM
Yousaf
Yousaf - avatar