EasyRating 900
Inside the Circle?
A circle has centre (cx, cy) and radius r. For each point print INSIDE, ON or OUTSIDE.
Input
cx cy r, then n, then n points.
Output
n lines.
Sample 1
Input
0 0 5 3 3 4 1 1 6 0
Output
ON INSIDE OUTSIDE
Sample 2
Input
1 1 1 1 1 1
Output
INSIDE
Output appears here