Sarvesh Ranjan's submission of Minimum Distance | CodeChef