摘要:
#include <bits/stdc++.h> using namespace std ; const int N=5003,M=2e5+2; int f[N],n,m; struct E{ int x,y,z; }e[M]; int find(int x){ return x==f[x]?x:f 阅读全文
posted @ 2023-03-10 13:21
towboat
阅读(43)
评论(0)
推荐(0)
摘要:
https://www.luogu.com.cn/problem/P1038 #include <iostream> #include<queue> #include <vector> #include <cstring> using namespace std; const int N=104, 阅读全文
posted @ 2023-03-10 13:10
towboat
阅读(45)
评论(0)
推荐(0)
浙公网安备 33010602011771号