![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
K-D-Tree
TheWolfWhistlingSong
蜜の夜明け
展开
-
Bzoj2648:SJY摆棋子:K-D-Tree
题目链接:2648:SJY摆棋子模板题……K-D-Tree早就学过但是并没有写过题所以早就忘了QAQ模板是黄学长的QwQ#include#include#include#include#define rep(i,x,y) for (int i=x;i<=y;++i)using namespace std;const int maxn=500010;const int原创 2016-04-03 17:00:06 · 584 阅读 · 0 评论 -
Bzoj1941:[Sdoi2010]Hide and Seek:K-D-Tree
题目链接:1941:[Sdoi2010]Hide and Seek和上一个题一样是个模板题QwQ#include#include#include#include#define rep(i,x,y) for (int i=x;i<=y;++i)using namespace std;const int maxn=500010;const int inf=0x7fffffff/2原创 2016-04-04 06:28:09 · 498 阅读 · 0 评论 -
Bzoj2626:JZPFAR:K-D-Tree
题目链接:JZPFARK-D_Tree复习,直接忘记了写point的比较函数导致nth_element出错调了好久QAQ#include#include#include#include#include#define LL long longusing namespace std;const int maxn=100010;struct qqq{LL dis; int id;原创 2016-06-09 20:11:27 · 668 阅读 · 0 评论