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. Sắp xếp dãy theo thứ tự tăng dần
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: là một dòng ghi dãy số nguyên theo thứ tự tăng dần.
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