Same ideia from the editorial gets TLE (very clear code)

Правка en1, от rick_sanchez_c-137, 2017-06-22 22:21:26

Hello!

Regarding this problem, my code implements the same ideia from the following editorial and gets TLE.

Do you know what part of my code is too slow? In my point of view, the code is exacly equal the editorial.

Thanks a lot!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский rick_sanchez_c-137 2017-06-24 19:54:54 22 Tiny change: 'o/2EoA64) implemen' -> 'o/2EoA64) (not avaible anymore) implemen'
en3 Английский rick_sanchez_c-137 2017-06-23 01:17:25 15
en2 Английский rick_sanchez_c-137 2017-06-23 01:16:34 199
en1 Английский rick_sanchez_c-137 2017-06-22 22:21:26 454 Initial revision (published)