首页 > TAG信息列表 > 1487

1487:【例 2】北极通讯网络 - 题解

1487:【例 2】北极通讯网络 - 题解 原题地址:点击这里 只需要找到最小生成树中第 k 大的边即可。 1 #include<cstdio> 2 #include<cmath> 3 #include<algorithm> 4 5 #define N 505 6 #define M N*N*2 7 #define K 105 8 9 using namespace std; 10 11 int n,m,k; 12