Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
10 Online
So I've been looking at PS2 and I can't seem to understand the reason for problem 4. I mean, other than the fact that the package sizes are held in a tuple and we have an upper limit, isn't it exactly same code as problem 3?
Still Need Help?
Join the QuestionCove community and study together with friends!
Yeah, all it changes in the script is that it allows the user to, perhaps, specify the package sizes himself. For instance, the happy meal has a 4 mcnugget package and mickey d's no longer sells them in packs of 20. The script will still find solutions for packages of 4,6, and 9 mcnuggets.
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
JohnnyLFowler0812:
Do you guys ever think that the homeless are going to be healthy and freed from h
JohnnyLFowler0812:
Do you guys ever think that Hikaru Nikanura will ever be take Magnus Calrsen's 1st place title in the wolrdin the United States amd Norway? Right now Hikaru
DoltonCarlee:
what are y'all's options on S A T essays because honestly their not that bad
thereneelg:
Can someone give me a summary of article 231, The war guilt clause?? I need to explain what it is, but I can't find any shortened version of what it is and
luisaam2:
What should you do when the person you want to talk to the most is the one making
Breathless:
https://medal.tv/games/roblox/clips/nAYivIl6oXB6q9QAI?invite=cr-MSxCSk4sMTY4OTA4N
Twaylor:
I'm not that good at law can someone fact check this without bias? June 29, 2026, the Supreme Court decided Chatrie v.
1 hour ago
3 Replies
1 Medal
2 hours ago
0 Replies
0 Medals
2 hours ago
6 Replies
2 Medals
2 days ago
7 Replies
1 Medal
2 days ago
16 Replies
1 Medal
1 week ago
0 Replies
0 Medals
2 hours ago
1 Reply
0 Medals