摘要: 题面 You are given a sequence \(a_1,a_2,...,a_n\). (\(|A[i]| \leq 10000 , 1 \leq N \leq 10000\)). A query is defined as follows: Query(x1,y1,x2,y2) = \( 阅读全文
posted @ 2019-10-15 21:47 lrj124 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 这里放蒟蒻 lrj124 碰到的线段树区间操作集合 No.1 区间加 懒标记 /************************************************ *Author : lrj124 *Created Time : 2019.04.04.14:17 *Mail : 158 阅读全文
posted @ 2019-10-15 20:56 lrj124 阅读(326) 评论(0) 推荐(2) 编辑
摘要: 题目描述 mzry1992 在打完吊针出院之后,买了辆新摩托车,开始了在周边城市的黄金运送生意。在mzry1992 生活的地方,城市之间是用双向高速公路连接的。另外,每条高速公路有一个载重上限,即在不考虑驾驶员和摩托车重量的情况下,如果所载货物的量超过某个值,则不能驶上该条高速公路。 今年,mzry 阅读全文
posted @ 2019-10-15 20:16 lrj124 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 题面 Given two integers \(n\) and \(x\), construct an array that satisfies the following conditions: for any element ai in the array, \(1\le ai<2^n\); t 阅读全文
posted @ 2019-10-15 20:04 lrj124 阅读(243) 评论(0) 推荐(0) 编辑