biggest product


Submit solution

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

Authors:
Problem type

題目說明

輸入三個整數,程式輸出其中最大的相乘結果,注意相乘組合可能是兩個數字相乘,也可能是三個數字相乘。

輸入資料限制:輸入數字都是整數,最小為-1000,最大為1000。

輸入

三個整數

輸出

最大乘積

sample input1

1 2 3

sample output1

6

sample input2

-3 -3 -2

sample output2

9

Comments

There are no comments at the moment.