Nick Buelich's submission of Rectangular Queries | CodeChef