摘要: #include <stdio.h> #include <stdlib.h> void RadixCountSort(int b[],int a[],int n) //这个是计数算法,只是count[]范围在0到1 { int i; int count[10]={0}; for(i=0;i<10;i 阅读全文
posted @ 2020-11-30 00:14 empty_thought 阅读(85) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <stdbool.h> //快速排序算法,一个是递归,一个就是之前的分割算法 void Quick_sort(int a[],int high,int low); int split(int a[],in 阅读全文
posted @ 2020-11-30 00:13 empty_thought 阅读(131) 评论(0) 推荐(0)