#include #include class Ichien { long long x; long long y; public: Ichien(long long x, long long y) : x(x), y(y) {}; bool kasanaru(Ichien *other) { long long x_diff = this->x - other->x; long long y_diff = this->y - other->y; return x_diff * x_diff + y_diff * y_diff < 400; } }; int main() { int n; double x, y; Ichien *ichi; std::list list; std::cin >> n; for (int i = 0; i < n; ++i) { std::cin >> x >> y; ichi = new Ichien(x, y); bool okeru = true; for (auto other: list) { if (ichi->kasanaru(other)) { okeru = false; break; } } if (okeru) { list.push_back(ichi); } else { delete ichi; } } std::cout << list.size() << std::endl; return 0; }