摘要: 原题链接 题解 1.暴力模拟 对每条边枚举(枚举之前先对边排序),然后对除去枚举边之外的边做并查集 code1: #include<bits/stdc++.h> using namespace std; struct unit { int x,y; }edge[5005]; bool cmp(uni 阅读全文
posted @ 2024-02-22 18:58 纯粹的 阅读(33) 评论(0) 推荐(0)