首页 > 小红的不动点分配
头像 ddb酱
发表于 2025-11-17 10:54:49
#include <bits/stdc++.h> using namespace std; #define endl "\n" using vi = vector<int>; using msi = multiset<int>; void s 展开全文
头像 l_ss
发表于 2025-11-28 00:39:23
#include <bits/stdc++.h> using namespace std; map<int, int>mp; int main() { int n; cin >> n; vector<int>a(2 * n + 展开全文
头像 牛客用户098471297
发表于 2025-11-28 08:46:27
#include<bits/stdc++.h> using namespace std; #define int long long #define endl '\n' #define quick ios::sync_with_stdio(false);cin.tie(0);cout.t 展开全文
头像 自由的风0450
发表于 2025-11-26 12:57:10
#include <iostream> #include<vector> #include<unordered_map> using namespace std; int main() { ios::sync_with_stdio(false); 展开全文
头像 Furina_love
发表于 2025-11-15 16:37:01
贪心即可处理,对于满足x<n的x,只要出现了就是一个不动点,最多作为不动点两次 #include <bits/stdc++.h> using namespace std; using ll = long long; const int OvO = 0; int main() { 展开全文

等你来战

查看全部