Everything right, yet getting TLE in graph problem!

Правка en1, от code_warrior, 2020-07-06 17:47:01

I tried my lot to debug why my code for the probem "Beautiful Graph" ig giving me a TLE. I have just used dfs .PLease someone reply if one can help me out! This is the problem . This is my code!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский code_warrior 2020-07-06 17:47:01 356 Initial revision (published)