Point within a circle
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Check, if the point is inside the circle.
Input
The first line contains the coordinates of the circle center and its radius. The second line contains the coordinates of point A. All numbers are integers not exceeding 10000 by absolute value.
Output
Print the "YES", if the point A belongs to a circle (with boundaries), and "NO" otherwise.
Examples
Input #1
Answer #1
Submissions 7K
Acceptance rate 50%