Sparsh Kumar Sinha's submission of Minimum Distance | CodeChef