1810: 【CSP数组】数组元素的排序▅冒泡排序法
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:15
Solved:9
Description
对数组的元素按从小到大进行排序。
Input
第一行有一个整数 n ( 5≤n≤10 );
第二行有 n 个整数,每个整数的值在 [0,109] 的范围内。
Output
输出排序后的数组。
Sample Input Copy
6
5 6 1 3 2 0
Sample Output Copy
0 1 2 3 5 6