Shreyas Gupta's submission of Minimise Difference | CodeChef