Strange Behaviour : TLE in Problem B— Kill `Em All ( Educational Round 74 )

Revision en6, by tejustiwari, 2020-06-08 21:19:02

Can Someone Please Tell Me Why is this Happening ?
Problem : 1238B - Kill `Em All
83162183 This Submission gives TLE
83162136 This Submission gets Accepted

The only difference in both the submissions is shown in the picture
i added one single line of code and got TLE
if i remove this green highlighted line of code the solution gets Accepted

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en8 English tejustiwari 2020-06-09 09:30:01 109
en7 English tejustiwari 2020-06-08 21:26:09 119
en6 English tejustiwari 2020-06-08 21:19:02 79
en5 English tejustiwari 2020-06-08 21:13:29 32
en4 English tejustiwari 2020-06-08 21:12:11 1
en3 English tejustiwari 2020-06-08 21:11:32 309
en2 English tejustiwari 2020-06-08 21:07:40 146
en1 English tejustiwari 2020-06-08 21:06:09 595 Initial revision (published)