#include <iostream> using namespace std; const int N = 100010; int m, n; int a[N]; void quick_sort(int q[], int l, int r) { if(l >= r) return; int x = q[l], j = l; for(int i = j + 1; i <= r; i++) if(q[i] > x) swap(q[++j], q[i]); swap(q[l], q[j]); quick...