随笔分类 -  数据结构——k-d tree

摘要:k d tree 裸题……………… cpp include include include using namespace std; typedef long long ll; int n, k, rot, nowD, din; ll dui[205]; const ll oo=9e18; stru 阅读全文
posted @ 2018-04-26 15:17 poorpool 阅读(211) 评论(0) 推荐(0)
摘要:题面不符?…… cpp include include include using namespace std; typedef long long ll; int n, m, nowD, rot, din, kk; const ll oo=9e18; struct Point{ int d[2], 阅读全文
posted @ 2018-04-26 11:06 poorpool 阅读(173) 评论(0) 推荐(0)
摘要:k d tree + 重构的思想,就能卡过luogu和bzoj啦orz cpp include include include using namespace std; int n, m, rot, nowD, opt, uu, vv, ans, rub[1000005], din, cur; co 阅读全文
posted @ 2018-04-26 08:53 poorpool 阅读(167) 评论(0) 推荐(0)