Problem 2591 · Easy

Distribute Money to Maximum Children

Give everyone one dollar, then as many 7-dollar top-ups as possible, and repair the two forbidden endings.

Open the interactive visualisation