Vichitr's submission of Maximum Distance | CodeChef