Description

三元排序

題目敘述

這是一個曾經在資訊國手的自傳中出現過的經典問題:給你三個整數,請按大到小的順序輸出。

輸入

每個測資會有三行,各包含一個數字。

輸出

輸出一行,數字之間用一個空白分隔。

範例輸入輸出

範例輸入 I

1
2
3

範例輸出 I

3 2 1

範例輸入 II

2
1
3

範例輸出 II

3 2 1

Hint

輸入

a = int(input())
b = int(input())
c = int(input())

輸出

print( str(???) + " " + str(???) + " " + str(???) )

Input Format

Output Format

Hints

Problem Source

NEOJ Problem 3011

Subtasks

No. Testdata Range Constraints Score
1 0 25
2 1 25
3 2 25
4 3 25

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 65536 65536 1
1 1000 65536 65536 2
2 1000 65536 65536 3
3 1000 65536 65536 4