03 2025 档案
摘要:合根植物 #include <bits/stdc++.h> using namespace std; const int N=11000010; int p[N]; int ans=0; int find(int x){ if(p[x]!=x)p[x]=find(p[x]); return p[x]
阅读全文
摘要:#include <bits/stdc++.h> using namespace std; typedef long long LL; #define pii pair<int,int> const int maxn=1e5+5,inf=0x3f3f3f3f; int n,m,s,t; int di
阅读全文
摘要:分考场 搜索 点击查看代码 #include <bits/stdc++.h> using namespace std; int n,m; int vis[101][101]; int a[101][101]; int ans=100; void dfs(int ca,int id){ if(ca>=
阅读全文