快速排序
最后更新于:2022-04-01 20:30:50
~~~
void swap(int *a,int *b){
int temp;
temp = *a;
*a = *b;
*b = temp;
}
int partition(int *a,int p,int r){
int x = a[r];
int i = p-1;
for(int j=p;j
';