Anton Tsypko's submission of Sum of distances | CodeChef