No testdata at current.
No submission language available for this problem.
配点 : 100 点
2 つの整数 A, B が与えられます。 A+B, A−B, A×B の中で最大の値を求めてください。
入力は以下の形式で標準入力から与えられる。
A B
A+B, A−B, A×B の中で最大の値を出力せよ。
3 1
4
3+1=4, 3−1=2, 3×1=3 なので、この中で最大の値である 4 が答えになります。
4 -2
6
4−(−2)=6 が最大の値になります。
0 0
0
By signing up a 西蒙科教 universal account, you can submit code and join discussions in all online judging services provided by us.