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 comments
Loading...
Problem Recent Solvers14
Suggested Problems
-
Remove all the words that end with "ain"
2707 Solvers
-
Longest run of consecutive numbers
6647 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
460 Solvers
-
528 Solvers
-
07 - Common functions and indexing 5
430 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!