摘要:
1 #include 2 3 void Qsort(int a[],int low,int high) 4 { 5 if(low>=high) 6 return; 7 int first=low; 8 int last=high; 9 in... 阅读全文
摘要:
1 #include 2 3 int* selectionSort(int datas[], int size) 4 { 5 int* temp = new int[size]; 6 int f,k; 7 for(int i=0;i<size;i++) 8 { ... 阅读全文