AtCoder Beginner Contest 199(Sponsored by Panasonic)
A
Square Inequality
AtCoder
⌀ 0
原题
←B →
翻译中…

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:

翻译中…

A B C

翻译中…

Output

翻译中…

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

翻译中…

样例

Input #1
2 2 4
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`.
Input #2
10 10 10
Output #2
No
Since $A^2 + B^2 = 200$ and $C^2 = 100$, $A^2 + B^2 < C^2$ does not hold.
Input #3
3 4 5
Output #3
No
题目信息
题号
abc199_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。