You are viewing a single comment's thread. Return to all comments →
def chocolateFeast(n, c, m): a=o=n//c for _ in range(5): if a<m: break o+=(a//m) a=(a//m)+(a%m) return o
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 →