void swap(int* a, int* b) { int temp = *a; *a = *b; *b = temp; } void my_qsort(int* q, int left, int right) // 使左边的数字都小于等于 x , 右边的数字都大于等于 x { if (left >= right) return; //int x = q[left], i = left, j = rig...