输入N个只含一位数字的整数,试用基数排序的方法,对这N个数排序。

admin2018-08-12  41

问题 输入N个只含一位数字的整数,试用基数排序的方法,对这N个数排序。

选项

答案typedef struct{ int key; int next; }SLRecType; SLRecType R[N+1]; typedef struct{ int f,e; }SLQueue; SLQueue B[10]; int Radixsort(SLReeType R[],int n){ //设备关键字已输入到R数组中 for(i=1;i
解析
转载请注明原文地址:https://jikaoti.com/ti/qwfjFFFM
0

相关试题推荐
随机试题
最新回复(0)