Module max_partial_sum

Source
Expand description

最大連続部分和

Functions§

max_partial_sum
空でない連続する部分列の和で最大のものを返す。