surplus-forces-sacrifice

Status: IN

When all children would get $8 but leftover money remains, distribute-money demotes exactly one child to absorb the surplus, because the problem requires distributing all money.

Source: entries/2026/06/06/distribute-money-to-maximum-children-solution.md

JSON