sort array


Submit solution

Points: 10 (partial)
Time limit: 1.0s
Memory limit: 256M

Authors:
Problem types
Allowed languages
Java 19, Java 8

題目說明

請輸入十個整數,並將其作排序後輸出

輸入限制: 整數(int) 輸入範圍: -10000 到 10000

輸入

十個整數

輸出

排序後的十個整數

sample input1

1 2 3 5 4 6 7 8 9 1

sample output1

1 1 2 3 4 5 6 7 8 9

sample input2

-1 1 -2 2 -3 3 -4 4 -5 5

sample output2

-5 -4 -3 -2 -1 1 2 3 4 5

Comments

There are no comments at the moment.