Ali-Amir Aldan's submission of Maximum Weight Difference | CodeChef