摘要: 多维维护问题,每层换一维进行统计。 bzoj4066 简单题 题目大意:给(x,y)+A,求(x1,y1)~(x2,y2)的权值和。 思路:kd-tree,但这道题目中重建是特判的。 #include<iostream> #include<cstdio> #include<cstring> #inc 阅读全文
posted @ 2016-04-22 10:46 Rivendell 阅读(1230) 评论(0) 推荐(0) 编辑