摘要: 题目链接 "bzoj3262: 陌上花开" 题解 三维偏序 第一维sort,第二cdq分治,第三bit 代码 c++ include include include inline int read() { int x = 0,f = 1; char c = getchar(); while(c '9 阅读全文
posted @ 2018-07-02 21:37 zzzzx 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 题目链接 "bzoj1176: [Balkan2007]Mokia" 题解 cdq分治 代码 c++ include include inline int read() { int x = 0,f = 1; char c = getchar(); while(c '9'){if(c == ' ')f 阅读全文
posted @ 2018-07-02 21:35 zzzzx 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 没什么好说的吧QWq cdq分治 c++ include include //using namespace std; inline int read() { int x = 0,f = 1; char c = getchar() ; while(c '9'){if(c == ' ') f = 1; 阅读全文
posted @ 2018-07-02 21:34 zzzzx 阅读(151) 评论(0) 推荐(0) 编辑