摘要: 最小生成树,我用的是并查集+贪心的写法。#include#include#include#includeusing namespace std;const int maxn = 111;int c[maxn][maxn];int father[maxn];int flag[maxn];struct ... 阅读全文
posted @ 2015-04-23 09:38 Fighting_Heart 阅读(144) 评论(0) 推荐(0) 编辑