Ali-Amir Aldan's submission of Minimum Distance | CodeChef