Difference of Areas of Two Squares


Submit solution

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

Author:
Problem type

題目說明

由使用者輸入兩個正方形的邊長,輸出兩個正方形面積的差額。

輸入規範

兩個正整數,分別代表兩個正方形的邊長,每個數字的範圍都是0到1000。數字有可能重複。

輸出規範

一個正整數。

範例輸入 #1

3 4

範例輸出 #1

7

範例輸入 #2

6 5

範例輸出 #2

11

Comments

There are no comments at the moment.