PESADA01 - Sort the given list of n integers
Sort the given list of integers.
Input
The input begins with the number t of test cases in single line (t<=10). Each test case begins with number n of input size (n<=1000000) and n lines having n integers as input for the test case. Integers are 32-bit signed integers and there can be duplicate entries.
Output
For every test case print the integers sorted in ascending order, one number per line. Test cases separated by an empty line.
Example
Input: 4
2
1234
-1234
1
4321
0
3
10000
-1000
100 Output: -1234
1234
4321
-1000
100
10000
Added by: | Prof. Channa Bankapur |
Date: | 2015-01-13 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | C |