随笔分类 -  线段树 加乘优先级

摘要:I - Transformation Yuanfang is puzzled with the question below: There are n integers, a 1, a 2, …, a n. The initial values of them are 0. There are fo 阅读全文
posted @ 2019-05-12 20:35 EchoZQN 阅读(176) 评论(0) 推荐(0)
摘要:链接:https://ac.nowcoder.com/acm/contest/200/B来源:牛客网 题目描述 qn姐姐最好了~ qn姐姐给你了一个长度为n的序列还有m次操作让你玩, 1 l r 询问区间[l,r]内的元素和 2 l r 询问区间[l,r]内的元素的平方 和 3 l r x 将区间[ 阅读全文
posted @ 2019-05-10 21:14 EchoZQN 阅读(188) 评论(0) 推荐(0)