Help me to find out why I am getting TLE ?

Revision en1, by harshitbhut14, 2016-06-07 00:16:03

Hey, I want to solve problem 357C. This is my submission link http://codeforces.me/contest/357/submission/18275678. I am getting time limit exceeded. Can anyone explain me what is the reason and what should I do for this.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English harshitbhut14 2016-06-07 00:16:03 337 Initial revision (published)