Time Limit Exceeded on UVA Problem 10452 — Marcus

Revision en1, by shubhamphpefy, 2023-12-15 20:16:13

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.

Tags uva, dfs

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English shubhamphpefy 2023-12-15 20:16:13 486 Initial revision (published)