- 博客(1)
- 收藏
- 关注
原创 两种冒泡排序
泡泡往前冒:for(int i = 1; i for(int j = 0; j //:大的数字往前冒泡if(score[i] int temp = score[i];score[i] = score[j];score[j] = temp;}}}例如:{int score[] = {67, 89, 87, 69, 90, 100, 75, 90};
2017-04-01 15:49:59
185
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人