How To Overcome Time Limit Exceeded In Python Code Example


Example: is TLE means my code is correct but taking more time to computr

TLE actually means that your program excedes the time limit for a  particular test file. So, as soon as the time limit is exceeded the program stops executing and you don’t know whether your program  gives AC or not. So, best practice is to optimize your program as much as possible. Even, then it gives TLE, then go for different approach.

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable