shubhamphpefy's blog

By shubhamphpefy, history, 2 months ago, In English

I submitted below codes for this problem.I got AC for one and TLE for other. I am unable to find how its happening. Please Help.

AC Submission
TLE Submission

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By shubhamphpefy, history, 7 months ago, In English

Hey there! Actually I tried to solve this problem on UVA. I submitted this solution on vjudge but it is giving TLE. On local machine it is working for all test cases that I tried. I tried to debug as well initially. Now that I am getting correct answers but TLE as well I don't know what's going wrong. Please Help.

P.S. : This is my first blog entry.

Full text and comments »

Tags uva, dfs
  • Vote: I like it
  • +10
  • Vote: I do not like it