Need Help in SPOJ Problem

Правка en1, от _invincible_, 2020-06-30 12:35:44

Problem Link

My solution

Need Help..I am getting wrong answer on test 15 and can't figure out my mistake. Any help would be appreciated.

Thanks in advance.

Теги #graph theory, spanning tree, kruskal, #bfs

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский _invincible_ 2020-07-23 16:35:33 23
en3 Английский _invincible_ 2020-07-23 16:34:51 2113
en2 Английский _invincible_ 2020-07-23 16:31:44 2523
en1 Английский _invincible_ 2020-06-30 12:35:44 261 Initial revision (published)