摘要:
CF Problem - 1455D - Codeforces 贪心,从小到大遍历 因为a[i]>x才能交换 所以把大的换小,使其满足单调不递减 #include <bits/stdc++.h> using namespace std; #define LL long long const LL m 阅读全文
摘要:
CF 构造(1300) Problem - 1867C - Codeforces(交互) #include <bits/stdc++.h> using namespace std; #define LL long long const LL mod = 998244353; const int N= 阅读全文
摘要:
CF 构造(1300) Problem - 1864C - Codeforces(lowbit) #include <bits/stdc++.h> using namespace std; #define LL long long const LL mod = 998244353; const in 阅读全文
摘要:
CF 构造(1300) Problem - 1889A - Codeforces #include <bits/stdc++.h> using namespace std; #define LL long long const LL mod = 998244353; const int N=2e5+ 阅读全文
摘要:
CF Problem - 1632C - Codeforces(枚举)(1600) 先加再按位或,一定最优 #include <bits/stdc++.h> using namespace std; #define LL long long const LL mod = 998244353; con 阅读全文
摘要:
CF Problem - 550C - Codeforces(数学) 能被8整除的数,后三位一定能被8整除 #include <bits/stdc++.h> using namespace std; #define LL long long const LL mod = 998244353; con 阅读全文
摘要:
CF Problem - 1234C - Codeforces(贪心) #include <bits/stdc++.h> using namespace std; #define LL long long const LL mod = 998244353; const int N=2e5+10; s 阅读全文