Problem 1774 · Medium

Closest Dessert Cost

Choose one dessert base and up to two of each topping closest to a target cost.

Open the interactive visualisation