OVSolitario-io

导航

2025年11月22日 #

最小生成树(整理篇)

摘要: prim #include <bits/stdc++.h> using namespace std; const int N = 400500, INF = 2147483647; typedef pair<int, int> PII; bool st[N]; int n, m, dist[N], 阅读全文

posted @ 2025-11-22 22:40 TBeauty 阅读(9) 评论(0) 推荐(0)