#D. A - Square Inequality

    传统题 1000ms 256MiB

A - Square Inequality

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

A - Square Inequality

Score : $100$ points

Problem Statement

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

Constraints

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

Input

Input is given from Standard Input in the following format:

AA BB CC

Output

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


2 2 4
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.


10 10 10
No

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


3 4 5
No

2025寒假ATC码力训练营第十四次练习

未参加
状态
已结束
规则
IOI
题目
6
开始于
2025-2-7 13:00
结束于
2025-2-7 14:30
持续时间
1.5 小时
主持人
参赛人数
6