摘要: 先用DFS求出全组合,然后每个组合求最小生成树。#include#include#include#includeusing namespace std;int n, m, summ;int u[10000][20];int t[20], ff[20], nodecost[20], father[20... 阅读全文
posted @ 2015-05-09 10:05 Fighting_Heart 阅读(484) 评论(0) 推荐(0) 编辑