Why this code is giving TLE

Правка en1, от Anubhabghosh, 2020-11-08 21:51:52

Problem link: https://codeforces.net/contest/1423/problem/K

submission link: https://codeforces.net/contest/1423/submission/97905194

I don't understand why I am getting TLE can anyone help?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Anubhabghosh 2020-11-08 21:51:52 230 Initial revision (published)