会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ying_vincent
博客园
首页
新随笔
联系
管理
订阅
2014年10月8日
LeetCode: Maximum Product Subarray
摘要: 很久没练只能看别人代码了 1 class Solution { 2 public: 3 int maxProduct(int A[], int n) { 4 if (n == 0) return 0; 5 int curMax, curMin, ans; 6 ...
阅读全文
posted @ 2014-10-08 21:59 ying_vincent
阅读(129)
评论(0)
推荐(0)
编辑