#abc199a. A - Square Inequality

A - Square Inequality

Score : 100100 points

问题描述

给定整数 AABBCC

判断是否满足不等式 A2+B2<C2A^2 + B^2 < C^2

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

You are given integers AA, BB, and CC. Determine whether A2+B2<C2A^2 + B^2 < C^2 holds.

Constraints

  • 0A10000 \le A \le 1000
  • 0B10000 \le B \le 1000
  • 0C10000 \le C \le 1000
  • AA, BB, and CC are integers.

Input

Input is given from Standard Input in the following format:

AA BB CC

Output

If A2+B2<C2A^2 + B^2 < C^2 holds, print Yes; otherwise, print No.

Sample Input 1

2 2 4

Sample Output 1

Yes

Since A2+B2=22+22=8A^2 + B^2 = 2^2 + 2^2 = 8 and C2=42=16C^2 = 4^2 = 16, we have A2+B2<C2A^2 + B^2 < C^2, so we should print Yes.

Sample Input 2

10 10 10

Sample Output 2

No

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

Sample Input 3

3 4 5

Sample Output 3

No