/* 对长度为n的数组arr执行冒泡排序 */
void bubbleSort(int arr[], int n){
//注意溢出
int i,j,temp;
for (i=1<
PTA 6-7 冒泡排序
最新推荐文章于 2022-06-09 17:12:11 发布
/* 对长度为n的数组arr执行冒泡排序 */
void bubbleSort(int arr[], int n){
//注意溢出
int i,j,temp;
for (i=1<