kruskal算法
摘要:
const int maxn=28; struct Edge{ int u,v,w; bool operator <(const Edge &rhs) const{ return w<rhs.w; } }edges[maxn*maxn]; int f[maxn]; void init(int N){ for(int i=1;i<=N;i++) ... 阅读全文
posted @ 2017-04-01 20:28 mkfoy 阅读(189) 评论(0) 推荐(0)
浙公网安备 33010602011771号