Number of connected components(graph) anomalous behavior of my program!!!

Правка en2, от competitivecoder, 2015-06-10 06:35:40

I have been trying to debug my code for hours still don't know why my code is printing wrong answer.Actually I am trying to find number of connected components of a graph.Please help me in this regard.Thank you _/_ .Question link

Теги graphs, connected components, help, needed

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский competitivecoder 2015-06-10 06:35:40 1 Tiny change: ' you _/\_ .[Questio' -> ' you _/\_ .[Questio'
en1 Английский competitivecoder 2015-06-10 06:35:12 434 Initial revision (published)