摘要: A 考场用时:$1$ h 期望得分:$100$ pts 实际得分:$100$ pts 不难推出:总代价即为所有逆序对的差的绝对值之和,这个直接树状数组维护就行了。 #include<bits/stdc++.h> #define int long long using namespace std; c 阅读全文
posted @ 2022-11-18 21:55 wapmhac 阅读(19) 评论(0) 推荐(0) 编辑