You are viewing a single comment's thread. Return to all comments →
def chocolateFeast(n, c, m): total = n // c wrappers = total while wrappers // m > 0: total += wrappers // m wrappers = (wrappers // m) + (wrappers % m) return total
Seems like cookies are disabled on this browser, please enable them to open this website
Chocolate Feast
You are viewing a single comment's thread. Return to all comments →