hundred sort
Submit solution
Points:
50 (partial)
Time limit:
1.0s
Memory limit:
256M
Authors:
Problem types
Allowed languages
Java 19, Java 8
題目說明
輸入一三位數,請將各位數(個、十、百位數)做排序,由小到大重新排序
輸入限制: 99<輸入值<1000
輸入
整數(大於99 小於1000)
輸出
重新排序後的整數
sample input1
561
sample output1
156
//5、6、1重新排序,並由小到大輸出
sample input2
999
sample output2
999
Comments