You are viewing a single comment's thread. Return to all comments →
def chocolateFeast(n, c, m):
ch = n/c all_ch = ch while (ch>=1): all_ch += ch/m ch = ch/m + ch%m return all_ch
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 →
see this
def chocolateFeast(n, c, m):