#P191. 练31.3 画图
练31.3 画图
Description
DD drew points on a two-dimensional coordinate system on a piece of paper. The coordinates of the -th point are (, ). However, she accidentally spilled ink on the paper. Assuming the ink covers a circular area with a known center and radius, how many points are covered by the ink?
Input Format
The first line contains an integer .
The second line contains three integers , , and , representing the coordinates of the center and the radius of the circle.
The next lines each contain two integers and , representing the coordinates of a point.
Output Format
Output a single line with the number of points covered by the ink.
Sample
5
1 5 8
2 5
3 5
3 4
2 3
20 204