vinay raj 's submission of Better Maximal Sum | CodeChef