摘要: CF Problem - 1455D - Codeforces 贪心,从小到大遍历 因为a[i]>x才能交换 所以把大的换小,使其满足单调不递减 #include <bits/stdc++.h> using namespace std; #define LL long long const LL m 阅读全文
posted @ 2025-12-01 22:22 Seren_blingbling 阅读(4) 评论(0) 推荐(0)