Codeforces Round #725 (Div. 3), Problem D TLE, Why?

Правка en1, от dkyu021, 2021-06-10 20:50:37

Hello everyone, I hope you all are doing well and are healthy & fit.

I just wanted to ask why am I getting TLE with this submission My Submission, whereas all other codes with same logic and I guess same code structure is accepted, For example

Question Link

I don't know what am I missing in my submission?

Your help is very much appreciated and Thank you in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский dkyu021 2021-06-11 08:01:16 304
en1 Английский dkyu021 2021-06-10 20:50:37 605 Initial revision (published)