Execution Timed Out | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Execution Timed Out

What does the "execution timed out" error mean and is there a way to get rid of it lol

22nd Nov 2019, 7:14 AM
Lara S
3 Answers
+ 10
Lara S time limit exceeds means you have used some code block or snippet which are executing without any halting statement it can be happen by left recursive function , calling of function without halting condition, certain condition and subroutine which is called again and again To get rid of this you have to make code which is run in least execution time and give the output https://www.sololearn.com/discuss/1349315/?ref=app https://www.sololearn.com/discuss/714271/?ref=app https://www.sololearn.com/discuss/463839/?ref=app https://www.sololearn.com/discuss/734880/?ref=app
22nd Nov 2019, 7:43 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 4
it means your program is running beyond the time limit
22nd Nov 2019, 7:16 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
Most codes experiencing Execution timed out note are working with loops. So first thing to pay an attention to would be loop (if there's any) inside your code. Make sure the loops don't take too long to run, because SoloLearn implements a safety measurement to limit the time for code to execute.
22nd Nov 2019, 7:44 AM
Ipang