My code's logic and editorial's logic is the same, then too time limit exceeded!

Revision en1, by VandanRogheliya, 2020-05-20 17:54:36

Sorry for this noob question, I am new to competitive coding. I want to know what in my code is causing "time limit exceeded". Link to my code

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English VandanRogheliya 2020-05-20 17:54:36 282 Initial revision (published)