随笔分类 - 图论
摘要:// Luogu P3366 【模板】最小生成树 include <bits/stdc++.h> using namespace std; const int N=200006; int n, m; struct edge{ int u,v,w; bool operator<(const edge
阅读全文
摘要:// Luogu P3366 【模板】最小生成树 include include include include define inf 1e9 using namespace std; int n,m,a,b,c,ans,cnt; const int N=5010; struct edge{int
阅读全文