【模板】归并排序求逆序对
摘要://P1908 逆序对 #include<bits/stdc++.h> using namespace std; int a[500005]; int tmp[500005]; long long ans=0; void mergesort(int l,int r) { if(l==r) retur
阅读全文
posted @ 2020-01-17 10:04
posted @ 2020-01-17 10:04
posted @ 2020-01-17 09:48