Kartik Arora's submission of Distances | CodeChef