which area is bigger?


Submit solution

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

Authors:
Problem type

題目說明

輸入一個長方形的兩個邊長,以及一個正方形的邊長,若長方形的面積大於等於正方形的面積,則輸出面積的差額,否則輸出0。

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

輸入

長方形的長寬 正方形邊長

輸出

差額或0

sample input1

3 4 3

sample output1

3

sample input2

3 5 4

sample output2

0

Comments

There are no comments at the moment.