摘要: 1. Kruskal #include <bits/stdc++.h> #define INF 0x3f3f3f3f using namespace std; const int N = 1000; int p[N], n, m; //p[N]用于存放祖先节点, 有n个点, m条边 struct e 阅读全文
posted @ 2021-03-05 14:15 Xiezeju 阅读(79) 评论(0) 推荐(0)