Ali-Amir Aldan's submission of Minimal Weighted Digit Sum | CodeChef