Kremake @ 2024-07-03 10:03:22
1.使用fread快读 2.把初始数据 sort 一遍
sort
KDTree<2, int> tree(n); for (auto &[x, y] : tree.info) { cin >> x >> y; } sort(tree.info.begin(), tree.info.end());