Sandeep Yadav's submission of Better Maximal Sum | CodeChef