這是一個曾經在資訊國手的自傳中出現過的經典問題:給你三個整數,請按大到小的順序輸出。
每個測資會有三行,各包含一個數字。
輸出一行,數字之間用一個空白分隔。
1
2
3
3 2 1
2
1
3
3 2 1
輸入
a = int(input())
b = int(input())
c = int(input())
輸出
print( str(???) + " " + str(???) + " " + str(???) )
NEOJ Problem 3011
No. | Testdata Range | Constraints | Score |
---|---|---|---|
1 | 0 | 25 | |
2 | 1 | 25 | |
3 | 2 | 25 | |
4 | 3 | 25 |