首页 > 代码库 > 5 连续子数组的最大和

5 连续子数组的最大和

int nCurSum=0;int nGreatestSum=-2147483648;for(int i=0;inGreatestSum) nGreatestSum=nCurSum;}

5 连续子数组的最大和