21FA - 12 New Park on Google Maps
CodeChefOpen on judge ↗
Pedro Parrot is designing an amusement park with many thrilling rides! Because Pedro is a bird, he somehow designed all these rides to float in the air. Google wants to mark this park on Google Maps, so Pedro designed a 2D layout of the park, where each ride is enclosed in a **rectangular** area. Because Google Maps can only look at the park from top down, Google Maps may actually underestimate th
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start