摘要: A[CF1155A(1000)] 枚举相邻两项,如果存在逆序对则可以。 #include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n; c 阅读全文
posted @ 2021-08-05 21:04 19992147 阅读(60) 评论(0) 推荐(0) 编辑