摘要: 主席树。 主席树复习,这道题是主席树的经典入门了吧。。 无修改区间第k大。 #include #include #include using namespace std; const int maxn = 200000 + 10; const int maxm = 5000000 + 10; /* void build(int &x,int L,int R) { if(!x)... 阅读全文
posted @ 2016-07-20 21:37 invoid 阅读(216) 评论(0) 推荐(0) 编辑