Vivek Ghosh's submission of Distances | CodeChef