Description
Enter an integer n followed by n integers, then sort and output them. (1 ≤ n ≤ 5000)
Line 1: An integer n
Line 2: n integers separated by spaces, all within the integer range.
One line: n sorted integers
5
1 2 3 4 5
5 4 3 2 1
译文
CodesOnline