#include <stdio.h> #include<stdlib.h> void exchange(int *a, int *b) { int temp; temp = *a; *a = *b; *b = temp; } int quick(int *n, int l, int r) { int temp = n[r]; int i = l - 1; for(int j = l; j < r; j++) { if(n[j] <= temp) { i++; exchange(&n[i], &n[j]); } } exchange(&...