#include using namespace std; using Point = pair; int main(void) { const int M = 20001; const int LEN = 33; const int CNT = M / LEN; int res = 0; // 33 x 33の長さの正方形で区画を作る // 区画それぞれはvectorにしておいて、点を追加できるようにする // vectorの二次元配列なので、vector>>になる vector>> blocks(CNT+1, vector>(CNT+1)); int n; scanf("%d", &n); for(int i=0; i)に点を入れる blocks[px][py].push_back(Point(x, y)); } } printf("%d\n", res); return 0; }