摘要: CF1915F https://codeforces.com/contest/1915/problem/F 先了解什么是逆序对 https://www.luogu.com.cn/problem/P1908 即i < j但a[i] > a[j]的数对。 求解的方法:树状数组求解。 树状数组维护的其实就 阅读全文
posted @ 2024-01-15 20:21 lu1no 阅读(20) 评论(0) 推荐(0)