- 博客(2)
- 收藏
- 关注
原创 BZOJ 2648: SJY摆棋子(kd tree)
题目:https://www.lydsy.com/JudgeOnline/problem.php?id=2648 #include<bits/stdc++.h> using namespace std; const int inf = 0x3f3f3f3f; const int maxn=1e6+100; int idx,n,m,tol,ans; struct node { ...
2018-10-26 12:18:24 194
原创 hdu 4347 The Closest M Points (kd tree 模板题)
题目:http://acm.hdu.edu.cn/showproblem.php?pid=4347 #include<bits/stdc++.h> using namespace std; #define sq(x) (x)*(x) const int maxn=6e4+10; int idx,n,k,m,lson[maxn],rson[maxn],tol; struct node...
2018-10-26 12:12:32 203
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人