+ 7
Hey friends when i run my code it shows time limit exeeded........ Why?
h
5 Réponses
+ 30
Where did you run your code? At the Code Playground, right?
It has time limitation to not let users break the server. For example: you may run an infinite loop, but the server will not let it run infinitely.
+ 20
the playground have a time limit for code execution
if your code takes too long to load (infinite loop, a very long loop) it will show this message
+ 7
Why does this post has downvotes?
+ 4
Use pycharm ide to run your code, review your program to avoid long loops. Learn which algorithms are used in python to understand why your program is slow and make your programs run faster. Happy coding
+ 2
thanks both of you