Tomaz Hocevar's submission of Minimum Distance | CodeChef