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

PROGRAMMING:sort

Luz5年前 (2021-05-10)题库365
Sort n (< = 40) integers in ascending order.
###Input format:
There are several groups of test data, which are processed to the end of the file. Enter n in the first line and N integers in the second line.
###Output format:
Each group outputs the N integers in ascending order. A space between every two numbers.
###Input example:
Here is a set of inputs. For example:
```in
ten
487 3633 410 4977 940 757 124 392 989 4228
```
###Output example:
The corresponding output is given here. For example:
```out
124 392 410 487 757 940 989 3633 4228 4977
```







answer:If there is no answer, please comment