LeetCode:1480.一维数组的动态和

1480. 一维数组的动态和

来源:力扣(LeetCode)

链接: https://leetcode.cn/problems/running-sum-of-1d-array/description/

给你一个数组 nums。数组「动态和」的计算公式为:
r u n n i n g S u m [ i ] = s u m

猜你喜欢

转载自blog.csdn.net/uncle_ll/article/details/132920908