subhashis mollick's submission of Minimum Distance | CodeChef