Prove by contradiction: suppose that no cubicles have at least $\frac{n}{m}$ programmers. Then the total amount of programmers is less than $n$, a contradiction. Also, the amount in each cubicle must be an integer, which proves the slightly stronger result with the ceiling function.