Back
Close

Just sort

Statement
The program
Implement sorting of n elements
INPUT:
First input is number of inputs without this one, and other inputs are there be sorted

OUTPUT:
output is sorted array in string with space (" ") between elements

EXAMPLE:
Input
1
1
Output
1
 

Game modes
Fastest

Test cases
Test n°1 Test
Input
1 1
Output
1

Test n°2 Test
Input
2 3 2
Output
2 3

Test n°3 Test
Input
2 3 4
Output
3 4

Test n°4 Test
Input
50 117 433 371 115 426 309 96 272 84 326 294 101 111 467 300 34 245 278 101 203 147 76 16 122 315 87 134 492 235 0 73 172 258 179 189 415 485 287 464 2 194 323 242 235 184 33 190 278 8 465
Output
0 2 8 16 33 34 73 76 84 87 96 101 101 111 115 117 122 134 147 172 179 184 189 190 194 203 235 235 242 245 258 272 278 278 287 294 300 309 315 323 326 371 415 426 433 464 465 467 485 492

Solution language

Solution

Stub generator input