Stuck with TLE

Revision en1, by skpro19, 2017-07-20 18:19:51

I am solving the problem DIV 1A. My submission is getting a TLE error. I went through the successful submissions as well, but I don't see any other logic. Any help would be appreciated.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English skpro19 2017-07-20 18:19:51 305 Initial revision (published)