Ming-Tian Yang's submission of Minimize Digitsum | CodeChef