Egor Suvorov's submission of Minimum Distance | CodeChef