We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Is the assumption that you should buy production resources every time correct?
Assume m=1, w=1, p=100, n=101
After 100 rounds we have 100 candies.
If we run just one more round we can get to 101
If we "invest" these 100, then at the 101st round we only have 2 candies.
What am I missing?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Making Candies
You are viewing a single comment's thread. Return to all comments →
Is the assumption that you should buy production resources every time correct? Assume m=1, w=1, p=100, n=101 After 100 rounds we have 100 candies. If we run just one more round we can get to 101 If we "invest" these 100, then at the 101st round we only have 2 candies. What am I missing?