Nikolay Domashenko's submission of Maximum Weight Difference | CodeChef