返回顶部
摘要: 区间修改线段树: cpp include using namespace std; typedef long long ll; define lt ls, l, m define rt rs, m + 1, r define ls (o 1; st[ls] += lazy[o] (m l + 1); 阅读全文
posted @ 2019-08-24 11:38 Inko 阅读(150) 评论(0) 推荐(0)
摘要: 鉴于水平有限,可能会有问题。 cpp include using namespace std; typedef long long ll; define ls ch[id][0] define rs ch[id][1] const int INF = 1e9; const int MAXN = 10 阅读全文
posted @ 2019-08-24 01:08 Inko 阅读(172) 评论(0) 推荐(0)