Time Limit Exceeded on UVA Problem 10452 — Marcus

Правка en1, от 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.

Теги uva, dfs

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский shubhamphpefy 2023-12-15 20:16:13 486 Initial revision (published)