WEBSITE RETURNED, HOWEVER SUBMIT QUANTITY IS RESTRICTED PER DAY TO VERY LITTLE (UNDER JUDGE0 NEW POLICY, API PROVIDER). Therefore it is very much for you to pay attention TEST CAREFULLY CODE BEFORE SUBMIT.

Sort the array in ascending

Threads: Write a program to input an array of integers. Sort the array in ascending order
Input: include 2 current, The first line is an integer number of elements of the sequence, second line 2 is a sequence of n integers (n>=1), Each integer is separated by a space.
Output: is a line that records the sequence of integers in ascending order.
For example:

input:
5
2 5 1 10 3
output:
1 2 3 5 10

You are not logged in? Log in to Submit Now!

Add a Comment