摘要: 1 2 3 4 5 > 1 2 3 4 5 > 阅读全文
posted @ 2018-09-28 16:52 云朵路过你的城南 阅读(120) 评论(0) 推荐(0)
摘要: def maxsum(list): max=list[0] for i in range(0,len(list)): //子序列开始位置 sum=list[i] for j in range(i+1,len(list)): //子序列结束位置 sum+=list[j] //子序列求和 if sum> 阅读全文
posted @ 2018-09-28 11:31 云朵路过你的城南 阅读(1926) 评论(0) 推荐(0)