摘要:
题目链接:https://loj.ac/p/132 解题思路: 设元素组元素为 \(a_i\),其方差数组为 \(d_i = a_i - a_{i-1}\) 则 \(a_x = \sum\limits_{i=1}^{x} d_i\) 所以有 \(\sum\limits_{i=1}^{x} a_i = 阅读全文
posted @ 2021-11-27 09:38
quanjun
阅读(185)
评论(0)
推荐(0)