Problem 55115. Minimum number of children to distribute unequal cookie portions
A cruel parent wants to distribute N cookies such that it is impossible for every child to receive the same number of cookies. What is the minimum amount of children that the parent must have to achieve this goal?
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3037 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1931 Solvers
-
Create an index-powered vector
878 Solvers
-
533 Solvers
-
Solve a System of Linear Equations
13737 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!