Problem1010--【入门】数组元素的排序

1010: 【入门】数组元素的排序

Time Limit: 1.000 Sec  Memory Limit: 16 MB
Submit: 75  Solved: 65
[Submit] [Status] [Web Board] [Creator:][下载测试数据]

Description

对数组的元素按从小到大进行排序

Input

有两行 第一行有一个整数n( 5 <= n <= 10 ) 第二行有n个整数

Output

输出更新后的数组

Sample Input

8
1 2 3 6 8 7 4 5

Sample Output

1 2 3 4 5 6 7 8

Source/Category


[Submit] [Status]