Erfan Alimohammadi's submission of Reverse Maximisation | CodeChef