Let's fix those Unnecessary TLEs for real

Правка en1, от Priyansh31dec, 2021-02-09 16:11:47

I personally had a hard time fixing those unnecessary time limit exceeded errors when I was starting out in Competitive Programming. Now, I know most of the time what happens is that the algorithm that we are using is totally fine for the constraints given in the question but still we do get those TLEs every now and then. One main reason for this is the slow manner in which we output. This is not very common here on CodeForces as the time limits are not that strict but being able to output a lot of stuff in a fast manner is always advantageous.

So, I thought why not just make a video where I explain why this type of TLEs occur and how you can fix them without making a lot of changes in your code. Also, I know that most of the people would already be aware of what I am discussing in this video so just telling you beforehand that this video is specifically for beginners and particularly for the ones who code in C++.

You can check out the video here: https://www.youtube.com/watch?v=dLMyTMuB95Y

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Priyansh31dec 2021-02-09 17:24:47 15
en1 Английский Priyansh31dec 2021-02-09 16:11:47 1182 Initial revision (published)