-->
当前位置:首页 > 题库

PROGRAMMING:Sorting by selection

Luz5年前 (2021-05-10)题库413
Input 10 unordered integers and sort them in ascending order by selection method. Note: only 3 rounds are required.
###Input format:
Enter 10 unordered integers separated by spaces on one line.
###Output format:
Output the changed array in one row, and each integer output takes up 5 columns.
###Input example:
```in
8 5 2 6 7 4 1 9 12 10
```
###Output example:
```out
1 2 4 6 7 5 8 9 12 10
```






answer:If there is no answer, please comment