对于长度为 NNN 的数组 aaa ,求出它所有连续的长度是 MMM 的子数组 bbb 的 ∑i=1M i × bi \displaystyle\ \sum_{i=1}^{M}\ i\ \times\ b_i i=1∑M i × bi 的最大值。
使用您的 gxyz 通用账户