书法字典:https://www.shufadict.com

Maximum Subsequence Multiplication

Given an array a contains integers, return
the maximum consecutive multiplication
Example:
int[] a = {2, -2, -3, 4, -5, 6} ;
return 360 (-3 * 4 * -5 * 6)

code

Code

 

posted on 2009-06-10 16:02  翰墨小生  阅读(453)  评论(0编辑  收藏  举报

导航

书法字典:https://www.shufadict.com