Problem

Source: 2012 Cuba MO 1.1

Tags: combinatorics, algebra



There are $1000$ balls of dough $0.38$ and $5000$ balls of dough $0.038$ that must be packed in boxes. A box contains a collection of balls whose total mass is at most $1$. Find the smallest number of boxes that they are needed.