Gabriel Pereira de Carvalho's submission of Minimum Distance | CodeChef