Partitioning the plane | CodeChef