|
|
вернуться в форумSolved(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) Послано mikroz 20 дек 2013 14:08 The problem is much easier. You don't need to use Kruskal or Prim to solve it. Re: Solved(MST) 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 |
|
|