Srivatsh Agarwal's submission of Maximum Remaining | CodeChef