What is time limit exceeded and .How to avoid it. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is time limit exceeded and .How to avoid it.

30th Jul 2019, 3:36 PM
Ajeet Kumar Srivastava
Ajeet Kumar Srivastava - avatar
3 Answers
0
limit is 10 seconds here, if your code is not long, check for infinity loops
31st Jul 2019, 2:52 AM
zemiak
0
It means that your program execution has taken too long. In SoloLearn your (non-web) program execution should not take more than 5 seconds.
30th Jul 2019, 4:42 PM
Seb TheS
Seb TheS - avatar
0
sololearn has a timelimit on a code, after it nothing will be printed, ... to avoid it you can make your codes more efficient and perhaps reduce the amount of print-calls.
30th Jul 2019, 4:44 PM
Anton Böhler
Anton Böhler - avatar