Rectangular or not?
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
The lengths of the sides of a triangle are given. Determine whether the triangle is right-angled.
Input
Three positive integers — the lengths of the triangle's sides, each not exceeding .
Output
Print "YES" if the triangle is right-angled, and "NO" otherwise.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 41K
Acceptance rate 42%