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 Solvers15
Suggested Problems
-
Back to basics 11 - Max Integer
812 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
590 Solvers
-
Set the array elements whose value is 13 to 0
1458 Solvers
-
10880 Solvers
-
Change the sign of even index entries of the reversed vector
662 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!