摘要: T1 排序(sort) 答案就是有逆序对的元素个数 因为可以把有逆序对的元素从大到小操作一遍就行 \(O(nlogn)\) 好像还有 \(O(n)\) 做法 orz #include <bits/stdc++.h> using namespace std; #define rep(i, a, b) 阅读全文
posted @ 2020-08-04 08:00 harryhqg 阅读(124) 评论(0) 推荐(0) 编辑