Problem link https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=3&page=show_problem&problem=44 Hints Violence Solution code UVa OJ 108 – Maximum Sum3 Nov, 2019 in OJ tagged OJ / UVa OJ / Violence by Haar (updated on 2019-11-03)