Problem 42889. Should Mr McNugget even get out of bed today?
As we learned in an earlier problem, Mr. Frobenius McNugget will go hungry if he cannot eat the specific number of McNuggets he desires. While he was overjoyed with your wonderful scripts to determine the maximum number of McNuggets he could eat, he would appreciate it if your next script would tell him all of the numbers he would be unable to create. That way, he doesn't have to get out of bed at all in the morning, and can spend a lazy day watching things like "Chicken Run" and "Supersize Me" on Netflix.
As before, you will be given the box counts of nuggets. Please return a list of all of the possible numbers of nuggets that cannot be created using those values. The test suite will reshape and sort your list as needed.
Solution Stats
Problem Comments
-
1 Comment
This series reminded me of a Numberphile video: https://youtu.be/vNTSugyS038
Solution Comments
Show commentsProblem Recent Solvers12
Suggested Problems
-
Sort a list of complex numbers based on far they are from the origin.
5603 Solvers
-
Back to basics 17 - white space
269 Solvers
-
Sum the elements in either diagonal of a square matrix
209 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1039 Solvers
-
80 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!