Why I'm getting TLE on test 5?
Difference between en1 and en2, changed 0 character(s)
I was trying to solve this problem [problem:1851E], and I submitted this code [submission:233066590]. It's the same logic of the editorial, that's what I think, but it's getting TLE. Can anyone tell me what is the wrong with my code so it's getting this TLE?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English mahmoud13 2023-11-17 13:07:30 0 (published)
en1 English mahmoud13 2023-11-17 12:59:31 288 Initial revision (saved to drafts)