摘要: int maxSubArray(int A[], int n) { // Note: The Solution object is instantiated only once and is reused by each test case. if(ncurMax) curMax = sum; } return curMax; } 阅读全文
posted @ 2013-10-17 21:36 summer_zhou 阅读(110) 评论(0) 推荐(0) 编辑