Rishi Chawla's submission of Maximise the Sum | CodeChef