getting TLE on a problem!!!

Правка en2, от Legend_11, 2024-03-10 15:47:55

Hello codeforces community, I am getting a weird TLE on this problem: https://mirror.codeforces.com/contest/1932/problem/E

Here is my code submission : https://mirror.codeforces.com/contest/1932/submission/250505488

I am sure my solution is linear but still I am getting TLE.

I am unable to find the error which is causing TLE. Please help me. Thank you

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Legend_11 2024-03-10 15:47:55 63
en1 Английский Legend_11 2024-03-10 15:35:54 317 Initial revision (published)