-->
当前位置:首页 > 题库

PROGRAMMING:The position relationship between the midpoint of a plane and a circle

Luz5年前 (2021-05-10)题库436
In the plane rectangular coordinate system, given the center coordinates ox, oy and radius r of a circle, and given the coordinates Px, py of another point, please judge the position relationship between the point and the circle.
###Input format:
First, enter three positive integers, representing the abscissa and ordinate x, oy and radius r of the center respectively.
Enter two positive integers to represent the abscissa and ordinate PX and py of a given point.
All data entered should not exceed 100
###Output format:
If the point is in the circle again, output in,
If the point is on the circle, the output is on,
If the point is out of the circle, output out,
After outputting the answer, you need to output carriage return to wrap the line.
###Input example:
Here is a set of inputs. For example:
```in
1 1 1
5 5
```
###Output example:
The corresponding output is given here. For example:
```out
OUT
```






answer:If there is no answer, please comment