Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

getting TLE on a problem!!!

Revision en2, by Legend_11, 2024-03-10 15:47:55

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

Here is my code submission : https://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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Legend_11 2024-03-10 15:47:55 63
en1 English Legend_11 2024-03-10 15:35:54 317 Initial revision (published)