特牛网址导航

POJ - 2299 Ultra-QuickSort-CSDN博客

网友收藏
#include <iostream>#define ll long long//因为a[i]范围超过int类型,所以要用long long存储using namespace std;const int N=5e5+5;int n;ll cnt;ll arr[N],temp[N];//temp数组为过度数组void arr_add(ll arr[],int left,int mid,int right)//归并{ if(left>=right) r...