Max's submission of Rectangles Counting | CodeChef