#include #include using namespace std; int main(){ int N = 0, x = 0, y = 0, R = 0, d = 0, xi = 0, yi = 0, c = 0, i = 0; cin >> N >> x >> y >> R; while(N!=i){ cin >> xi >> yi; d = sqrt(((xi - x) * (xi - x)) + ((yi - y) * (yi - y))); if(d < R || d == R){ c++; } i++; } cout << c; }