QINGCHUAN ZHANG, 张晴川's submission of Maximise the Sum | CodeChef