+ 1
How can I fix the Time limit exceeded?
I posted a code writen in Python and when i run it I get the time limit exceeded. How can I fix this problem?
6 Answers
+ 3
Run it on a laptop instead of SoloLearn. They do it on purpose to prevent your program from using too many resources.
+ 3
There are somethings that do help. It is worth the try as you can remove and test without saving so you can return to the original when it doesn't help.
+ 2
You might rewrite to print less or speed up the program's algorithm. But, it could be impossible depending on what you are trying to do.
+ 1
so there is no way arround?
+ 1
i understand. one more thing. if i remove de include time in my program it could help?
+ 1
ok. thank you very much!