[HELP] Why is this solution giving TLE for 1496C?

Revision en1, by sggts04, 2021-03-10 17:16:22

Question Link: 1496C Submission Link: 109603686

The solution is under the constraints and the approach and method is same as most of the accepted solutions that I have seen. Why is my particular solution giving TLE?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English sggts04 2021-03-10 17:16:22 377 Initial revision (published)