摘要:
Problem A Welcome 模拟 Problem B 绿地装饰 模拟 Problem C 击鼓传花 模拟 Problem D 旅行 线段树 Problem E 解密 模拟 Problem F 巍巍岳麓 最小生成树 Problem G Solution Sets 搜索+剪枝 Problem H 阅读全文
摘要:
P3366【模板】最小生成树 Kruskal 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int maxn = 5005; 5 int fa[maxn], n, m, ans = 阅读全文