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

PROGRAMMING:sort

Luz5年前 (2021-05-10)题库374
Please write a program to sort up to 50000 integers incrementally.
###Input format:
Enter a positive integer n in the first line to indicate the number of elements to be sorted. The second line is n integers representing the elements to be sorted. N not more than 50000.
###Output format:
Output as a line, indicating the sorting result, each integer followed by a space.
###Input example:
```in
five
5 4 3 2 1
```
###Output example:
```out
1 2 3 4 5
```







answer:If there is no answer, please comment