bzoj3053 The Closest M Points [kd-tree]
Description:
kkk维空间询问第mmm近点对。
Solution:
kd−treekd−treekd-tree裸题。
#include <bits/stdc++.h>
using namespace std;
const int N = 305;
struct P {
double x, y;
P() {}
P(double _x,...
原创
2018-03-22 19:56:48 ·
128 阅读 ·
0 评论