Problem 3809 · Medium

Best Reachable Tower

Keep the towers within a Manhattan radius of a center, then choose the highest quality with a coordinate tie-break.

Open the interactive visualisation