array/prefix-sum-array #2
Replies: 1 comment 1 reply
-
您好,计算 l..=r 范围和的公式,应当减去的是 left - 1。在下方的代码描述中,是正确的实现。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
array/prefix-sum-array
https://algs.biofan.org/array/prefix-sum-array.html
Beta Was this translation helpful? Give feedback.
All reactions