摘要: 类似$ST表$的思想,倍增$log(n)$地合并 你是我家的吗?不是就来呀啦啦啦。还有要来的吗?没了!那有多少个家就映射多少答案呀 ~~倍增原来这么好玩~~ cpp include include include include include define R(a,b,c) for(registe 阅读全文
posted @ 2019-10-16 23:06 邱涵的秘密基地 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 这题贪心停水的,找$dis1 include include include include define R(a,b,c) for(register int a = (b); a = (c); a) define Fill(a,b) memset(a, b, sizeof(a)) define S 阅读全文
posted @ 2019-10-16 17:43 邱涵的秘密基地 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 快速乘 UOJ222【NOI2016】区间 线段树离散维护区间最值,尺取最优 二进制处理 cpp include "Head.cpp" include int main(){ while(1){ long long x; io x; cout (x) 阅读全文
posted @ 2019-10-16 10:10 邱涵的秘密基地 阅读(108) 评论(0) 推荐(0) 编辑