题意:
1、区间求
a[l]×L+a[l+1]×(L−1)+⋯+a[r−1]×2+a[r](L is the length of [ l, r ] that equals to r - l + 1) a[l]×L+a[l+1]×(L−1)+⋯+a[r−1]×2
题意:
1、区间求
a[l]×L+a[l+1]×(L−1)+⋯+a[r−1]×2+a[r](L is the length of [ l, r ] that equals to r - l + 1) a[l]×L+a[l+1]×(L−1)+⋯+a[r−1]×2