首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
poj2560专题
Freckles【POJ2560】
题目链接 kruskal算法+并查集 #include<cstdio>#include<algorithm>#include<cmath>#define N 5000using namespace std;struct edge{int u,v;double cost;bool operator < (const edge &b)const{return cost < b.cost;}
阅读更多...