Max, Min, and Sum


Submit solution

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

Author:
Problem type

題目說明

由使用者輸入三個任意整數,程式輸出最大值,最小值,總和。

輸入規範

三個整數,每個數字的範圍都是-1000到1000。數字有可能重複,有可能是零。

輸出規範

最大值 最小值 總和,均以空白分隔

範例輸入 #1

1 2 3

範例輸出 #1

3 1 6

範例輸入 #2

-5 -3 5

範例輸出 #2

5 -5 -3

Comments

There are no comments at the moment.