Problem 3155 · Medium

Maximum Number of Upgradable Servers

For each data center, sell some servers to fund upgrading the rest; test upgrade counts from the top down until the funds cover them.

Open the interactive visualisation