+ 2

What is the reason behind "Time limit Exceeded"? How to Avoid it?

5th Aug 2017, 10:39 AM
Prathamesh Sawant
Prathamesh Sawant - avatar
6 Antworten
+ 3
Sololearn allocates memory for programs to be run in so as not to crash its system, you passed your limit
5th Aug 2017, 10:45 AM
LordGhostX
LordGhostX - avatar
+ 3
Can you link your code that gave this error?
5th Aug 2017, 11:04 AM
Limitless
Limitless - avatar
+ 3
Just run again if no output
5th Aug 2017, 5:08 PM
LordGhostX
LordGhostX - avatar
+ 1
How to avoid it?
5th Aug 2017, 11:01 AM
Prathamesh Sawant
Prathamesh Sawant - avatar
+ 1
Well code runs fine but sometimes it shows Time limit Exceeded or No Output.
5th Aug 2017, 5:06 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
+ 1
Well, it could be that your code is literally on the edge of it's recourses. I'd suggest try cleaning your code up a bit to make it faster ;)
5th Aug 2017, 6:08 PM
Limitless
Limitless - avatar