摘要:
离谱,给的节点中可能还有多余的节点,谜语人 #include <bits/stdc++.h> using namespace std; #define val first #define nex second int main() { ios::sync_with_stdio(false); cin 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<tuple<string, int, int>> all; for (int i = 0; i < n; i++) { string 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; using ll = long long; const int N = 1e5 + 10; vector<int> G[N]; int main() { int n; double h, r; cin >> 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; using ll = long long; int main() { int n; cin >> n; set<string> S; for (int i = 0; i < n; i++) { string 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; #define e first #define c second constexpr double eps = 1e-8; int main() { int n; cin >> n; map<int, dou 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> a(n + 1); for (int i = 1; i <= n; i++) { cin >> a[i]; } sort(a 阅读全文
摘要:
要记得他父母也有性别 #include <bits/stdc++.h> using namespace std; constexpr int N = 1e5 + 10; vector<int> g[N]; int main() { int n, m; cin >> n; map<int, char> 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; int main() { int n, k, m; cin >> n >> k >> m; vector<double> all; for (int i = 0; i < n; i++) { vector<i 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> v(n + 1); for (int i = 1; i <= n; i++) { cin >> v[i]; } vector 阅读全文
摘要:
#include <bits/stdc++.h> using namespace std; constexpr int N = 510; vector<int> g[N]; int main() { int n, m; cin >> n >> m; for (int i = 0; i < m; i+ 阅读全文