1178: 选择排序

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:45 Solved:34

Description

使用选择排序,对n个数进行从小到大排序,

Input

第一行,一个整数n 第二行,n个整数

Output

n个整数

Sample Input Copy

5
5 1 2 4 3

Sample Output Copy

1 2 3 4 5

HINT

使用选择排序