Strange Behaviour : TLE in Problem B— Kill `Em All ( Educational Round 74 )
Difference between en6 and en7, changed 119 character(s)
Can Someone Please Tell Me Why is this Happening ?                                                               ↵
Problem :  [problem:1238B]                                                                                                                                         ↵
[submission:83162183] This Submission gives TLE                                                                                              ↵
[submission: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 ↵
Even if I am removing the if condition , the solution gets accepted  [submission:83161695]↵
                                                                                            ↵
![ ](/predownloaded/33/ea/33ea4f17e609044b69ec126322d3f226f0d58851.png)↵
                               

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)