摘要: /* Name: Copyright: Author: 流照君 Date: data Description: */ #include <iostream> #include<string> #include <algorithm> #include <vector> #define inf 100 阅读全文
posted @ 2020-02-20 20:42 流照君 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 给定K个整数组成的序列{ N​1​​, N​2​​, ..., N​K​​ },“连续子列”被定义为{ N​i​​, N​i+1​​, ..., N​j​​ },其中 1。 “最大子列和”则被定义为所有连续子列元素的和中最大者。例如给定序列{ -2, 11, -4, 13, -5, -2 },其连续 阅读全文
posted @ 2020-02-20 17:52 流照君 阅读(338) 评论(0) 推荐(0) 编辑