摘要:
[ 转载自yxt大佬:%%% ] 可以用并查集 #include <iostream> #include <cstdio> using namespace std; const int N = 200010; int n, fa[N], ans = 0x3f3f3f3f; int get (int 阅读全文
该文被密码保护。 阅读全文
摘要:
传送 【题意】求最小环长 【解题】我恨这个题 我是一个没有读题的杀手傻手 20分代码(单环) //第二题 #include<iostream> #include<cstring> #include<cstdio> #include<vector> #include<queue> #define fr 阅读全文