What is meant by 'time limit exceeded' in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

What is meant by 'time limit exceeded' in python?

Python

11th Nov 2018, 3:22 PM
Sharon Shelton
Sharon Shelton - avatar
1 Answer
+ 9
If you get time limit exceeded, try another method of reading input. TLE error in the code...how to solve? It means the program you are using is doing more computations than expected. Usualy, loops that goes upto 106-10^7 are acceptable with 1-2s time limit. see more information from this site: **https://discuss.codechef.com/t/why-do-i-get-a-time-limit-exceeded/1771**
14th Jan 2021, 4:37 PM
Amirhon Atahanov
Amirhon Atahanov - avatar