|
|
back to boardSolved(MST) Solution is Minimum spanning tree (Kruskal or Prim Algorithm). Put low cost on tunnels, and much higher one on bridges with using priority queue ;) Re: Solved(MST) Posted by mikroz 20 Dec 2013 14:08 The problem is much easier. You don't need to use Kruskal or Prim to solve it. Re: Solved(MST) Posted by adamant 22 Dec 2013 00:47 Well, yes, but we can use this problem to train skills of writing MST algo =) Re: Solved(MST) You are trying to kill a fly with a nuclear Bomb :) Edited by author 30.10.2019 13:44 |
|
|