+ 6
Why Time limit exceeds??
I can't understand why does this program doesn't take higher limits like 1000 and above and says time limit exceeded. What does it mean? This code prints Mersenne Prime nos from 1 to given limit Works well when limit is 100 or near to it... https://code.sololearn.com/cXUglmPMIjm2/?ref=app
7 Answers
+ 10
All codes on code playground have a limited time before they are force closed.
When this is reached, they show time limit-exceeded.
They also show time limit exceeded for the things @Jonas and @Gaurav said, but it wouldn't show any output for lower numbers if that were the case here.
+ 7
try again ... sometimes net speed goes down in sl
+ 6
Thanks @Gaurav and @Jonas
+ 5
@faith limited run time?
Sorry I m still confused..:(
+ 5
I mean if the code is running for longer than x amount of time, it will be terminated.
+ 5
@faith ok :)
Thank u!
+ 1
The time limit exceeded is not a problem of the code itself, it's a problem of the internet connection to the server.