线段树(懒人做法)
ZZ --瑞 hopeACMer
WA就完事了
展开
-
C - A Simple Problem with Integers
You have N integers, A1, A2, … , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a given interval. The other is to ask for the su...转载 2019-02-15 15:07:04 · 136 阅读 · 0 评论 -
K - Transformation
K - 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 four kinds of operations. Operation 1: Add c to each...转载 2019-02-15 15:11:52 · 286 阅读 · 0 评论