#include <stdio.h> void QuickSort(int x[], int left, int right){ /* 快速排序算法。 */ int begin = left; int end = right; int key = right; while(left < right){ while(x[left] <= x[key] && left < right){ left++; } while(x[right] >= x[key] && left < right){ right--; } int t...