Problem 1090 · Medium

Largest Values From Labels

Take items from largest value down, skipping any whose label has reached its use limit.

Open the interactive visualisation