Why this code is giving TLE

Revision en1, by Anubhabghosh, 2020-11-08 21:51:52

Problem link: https://mirror.codeforces.com/contest/1423/problem/K

submission link: https://mirror.codeforces.com/contest/1423/submission/97905194

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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Anubhabghosh 2020-11-08 21:51:52 230 Initial revision (published)