TopCoder

User's AC Ratio

100.0% (4/4)

Submission's AC Ratio

71.4% (5/7)

Tags

Description

今天 Cheng 有三個木棍,從短到長的木棍長度依序為 $a,\ b,\ c$。
Cheng 想知道能否使用這三個木棍排成一個直角三角形?


對於所有測試資料:
$1 \le a \le b \le c \le 1000$

Input Format

輸入僅一行,共三個數字,依序代表 $a,\ b,\ c$。

Output Format

輸出 YesNo 表示能否使用三木棍排成一個直角三角形。

Sample Input 1

3 4 5

Sample Output 1

Yes

Sample Input 2

7 24 25

Sample Output 2

Yes

Sample Input 3

6 7 8

Sample Output 3

No

Hints

Problem Source

Subtasks

No. Testdata Range Constraints Score
1 0~22 題目範圍限制 100

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1000 65536 65536 1
1 1000 65536 65536 1
2 1000 65536 65536 1
3 1000 65536 65536 1
4 1000 65536 65536 1
5 1000 65536 65536 1
6 1000 65536 65536 1
7 1000 65536 65536 1
8 1000 65536 65536 1
9 1000 65536 65536 1
10 1000 65536 65536 1
11 1000 65536 65536 1
12 1000 65536 65536 1
13 1000 65536 65536 1
14 1000 65536 65536 1
15 1000 65536 65536 1
16 1000 65536 65536 1
17 1000 65536 65536 1
18 1000 65536 65536 1
19 1000 65536 65536 1
20 1000 65536 65536 1
21 1000 65536 65536 1
22 1000 65536 65536 1