Shivam Mahendru's submission of Sum of distances | CodeChef