最小生成树(普里姆算法)
让编程改变世界
Change the world by program
最小生成树
小苍童鞋的难题:
[caption id="attachment_2588" align="alignnone" width="400"]
方案一
[caption id="attachment_2589" align="alignnone" width="400"]
方案二
[caption id="attachment_2592" align="alignnone" width="400"]
方案三
[caption id="attachment_2594" align="alignnone" width="400"]