Minimum Spanning Tree code not working properly

Правка en2, от ss_96, 2017-09-20 17:44:50

I was trying to solve this question:link

My solution:solution

The solution is not able to pass all test cases.Please help and suggest what is wrong in the implementation.I have used kruskal algorithm in the 'min_' function of the code.

Thanks.

Теги c++, minimum spanning tree, graph, kruskal

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский ss_96 2017-09-20 17:44:50 18
en1 Английский ss_96 2017-09-20 17:44:21 477 Initial revision (published)