#include using namespace std; typedef long long ll; typedef long double T; T eps = 0.0001; struct Vec2{ T x, y; }; template inline T len(const Vec &v){ return sqrtl(dot(v, v)); } template inline T len2(const Vec &v){ return dot(v, v); } template inline Vec normalize(const Vec &v) { return v / len(v); } inline Vec2 operator+(const Vec2 &a, const Vec2 &b){ return {a.x + b.x, a.y + b.y}; } inline Vec2 operator-(const Vec2 &a, const Vec2 &b){ return {a.x - b.x, a.y - b.y}; } inline Vec2 operator/(const Vec2 &a, const T &b){ return {a.x / b, a.y / b}; } inline Vec2 operator*(const Vec2 &a, const T &b){ return {a.x * b, a.y * b}; } inline T dot(const Vec2 &a, const Vec2 &b){ return a.x * b.x + a.y * b.y; } inline T prod(const Vec2 &a, const Vec2 &b){ return a.x * b.y - a.y * b.x; } int main(){ ios_base::sync_with_stdio(0); cout<>N>>R>>A>>B; Vec2 prost; prost.x=A; prost.y=B; normalize(prost); R += eps/2; vector > X; for(int i = 0; i < N;++i){ Vec2 boat; cin>>boat.x; cin>>boat.y; Vec2 boat_prost = prost * dot(prost, boat); Vec2 vodl = boat - boat_prost; T odl2 = len2(vodl); T dist2 = R * R - odl2; // cout<<"R*R: "<