搜索资源列表
MaxSum
- 求1维数组最大子段和,适合初学者,算法设计与基础,写的通俗易懂,且正确-Seeking the largest sub-segment of a one-dimensional array, suitable for beginners, algorithm design and basic written in easy to understand, and correct
HuanTwoArray
- 该实验的功能事实现环状的数组找出最大的子数组,并输出最大子数组及子数组的和-The experimental realization of an annular array of features to find out what the largest sub-arrays, and the maximum output and sub-sub-arrays and arrays
C
- 含随机出题(四则运算)及其迭代程序、返回数组中最大子数组和及其迭代程序等。-Software class operations, including four operations and iterative procedure, returns an array of sub-arrays and the largest and Iterative procedures
Maximum sum of subarray
- 题目描述:给定一个数组a[0,...,n-1],求其最大子数组(长度>=1)和 输入描述:第一行一个整数n(1<=n<=5000),然后依次输入n个整数(每个整数范围[-5000, 5000]) 输出描述:输出一个整数表示最大子数组和 样例输入:5 1 -1 1 1 -1 样例输出:2(Topic descr iption:Given an array a[0,..., n-1]