Problem 2528 · Hard

Maximize the Minimum Powered City

Binary search the target power, then greedily place missing stations as far right as their range allows.

Open the interactive visualisation