manas agrawal's submission of Minimum Distance | CodeChef