摘要: //这个代码先算出所有点的距离,然后在求MST中只选用两点距离>=限制值的边。#include<bits/stdc++.h> using namespace std; int ans,n,j=0,c; int g[2501][2501]; int x[2501],y[2501]; struct bo 阅读全文
posted @ 2021-04-30 23:02 我微笑不代表我快乐 阅读(29) 评论(0) 推荐(0) 编辑