P24119 [AtCoder] Square Inequality
入门
题目描述

Problem Statement

You are given integers A, B, and C.
Determine whether A^2 + B^2 < C^2 holds.

Input

Input is given from Standard Input in the following format:
A B C

Output

If A^2 + B^2 < C^2 holds, print Yes; otherwise, print No.

Constraints

  • $0 \le A \le 1000$
  • $0 \le B \le 1000$
  • $0 \le C \le 1000$
  • A, B, and C are integers.

Sample Input 1

2 2 4

Sample Output 1

Yes

Since A^2 + B^2 = 2^2 + 2^2 = 8 and C^2 = 4^2 = 16, we have A^2 + B^2 < C^2, so we should print Yes.

Sample Input 2

10 10 10

Sample Output 2

No

Since A^2 + B^2 = 200 and C^2 = 100, A^2 + B^2 < C^2 does not hold.

Sample Input 3

3 4 5

Sample Output 3

No

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
2 2 4
样例输出
Yes