标签:art http png com leetcode div etc 提交 color
题目描述:
提交:
class Solution: def minStartValue(self, nums: List[int]) -> int: res = 1 s = 0 for i in nums: s += i res = min(res,s) if res >= 0: return 1 else: return -res +1
标签:art http png com leetcode div etc 提交 color
原文地址:https://www.cnblogs.com/oldby/p/12730312.html