摘要:
一样是cdq的板子 照着 "园丁的烦恼" 就好了 代码 cpp include include include using namespace std; int w,cntq,cnta,nothing,type,qid,aid; namespace BIT{ int bit[2000100]; in 阅读全文
摘要:
思路 其实是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 阅读全文