随笔分类 - 数据结构——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
阅读全文
摘要:题面不符?…… 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],
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号