摘要: 一样是cdq的板子 照着 "园丁的烦恼" 就好了 代码 cpp include include include using namespace std; int w,cntq,cnta,nothing,type,qid,aid; namespace BIT{ int bit[2000100]; in 阅读全文
posted @ 2018-12-14 17:09 dreagonm 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 思路 其实是cdq的板子 题目要求询问对于每个给出的xi,yi,xj,yj形如xi include include using namespace std; const int MAXL = 1e7+5; const int MAXN = 500100; int n,m,ans[MAXN 5],qi 阅读全文
posted @ 2018-12-14 11:06 dreagonm 阅读(302) 评论(0) 推荐(0) 编辑