最小生成树
文章平均质量分 75
Creed_Wu
人生只有走出来的美丽,没有等出来的辉煌
展开
-
最小生成树
/*H - 最小生成树Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription某省调查乡村交通状况,得到的统计表中列出了任意两村庄间的距离。省政府“畅通工程”的目标是使全省任何两个村庄间都可以实现公路交通(但不一定有直接的公路相连,只要能原创 2016-04-13 15:32:15 · 224 阅读 · 0 评论 -
Agri-Net
/*DescriptionFarmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the area. He needs your help, of course. Farmer John ord原创 2016-04-13 15:35:36 · 228 阅读 · 0 评论