摘要: kruskal思想,排序后暴力枚举从任意边开始能够组成的最小生成树#include #include using namespace std;const int maxn = 101;const int maxe = maxn * maxn / 2;struct edge{ int f,t,c... 阅读全文
posted @ 2015-05-23 20:00 雪溯 阅读(126) 评论(0) 推荐(0)