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

PROGRAMMING:sort

Luz5年前 (2021-05-10)题库407
Input a batch of unsorted data, the number is not more than 30, please use the selection method or bubble method to sort them, and output according to the specified requirements.
###Input format:
First, input the number of shaping numbers to be sorted; Then enter all the data to be sorted.
###Output format:
Output sorted data in a row in descending order. Note: there is no space after the last data.
###Input example:
Here is a set of inputs. For example:
```in
five
-2 52 0 192 35
```
###Output example:
The corresponding output is given here. For example:
```out
192 52 35 0 -2
```







answer:If there is no answer, please comment