10/01/25 01:06:19
>>127
void quick(int a[], int left, int right) {
int p, center;
if(left != right){
p = pivot(a, left, right);
center = partition(a, left, right, a[p]);
check(a, left, right, p, center);
quick(a, left, center - 1);
quick(a, center, right);
}
}