Lang:G++
Edit12345678910111213141516171819202122232425262728293031/** @Author : IceCory (icecory520@gmail.com)* @Copyright(C): GPL 3.0* @desc :*/#ifdef TEST#include "utils/define.h"#else#define parse() ;#define pp(...) ;#endif#include <bits/stdc++.h>int main(int argc, char* argv[]) {parse() size_t n;std::cin >> n;std::vector<std::unordered_map<int64_t, int>> aux;aux.resize(4);auto add_or_set = [&aux](size_t idx, int64_t key) {if (aux[idx].count(key)) {aux[idx][key]++;} else {aux[idx][key] = 1;}};aux.reserve(200000 * 6);for (size_t i = 0; i < n; i++) {int64_t x, y;std::cin >> x >> y;