加减序列

题目描述给定一个长度为 n(n≤10^5 ) 的数列 {a_1,a_2,…,a_n},每次可以选择一个区间 [l,r],使下标在这个区间内的数都加一或者都减一。     阅读全文
Axell's avatar
Axell 1月 07, 2019