摘要: 蓝桥杯才发现图论好久不碰了,果然全忘了。。。毕竟当时可能学得不精。。。现在来补一下。。。const int N = 100+5;int n,m;int fa[N];///保存各个节点的根节点struct edge{ int u,v;///边的两端 int w;///边的权值}e[N*N]... 阅读全文
posted @ 2015-04-14 20:20 hqwhqwhq 阅读(123) 评论(0) 推荐(0)