Problem 807 · Medium
Raise each building to the smaller of its row maximum and column maximum.
Open the interactive visualisation