Suryaraj Bhaduri's submission of Maximise the Sum | CodeChef