You are viewing a single comment's thread. Return to all comments →
my python solution:
def chocolateFeast(n, c, m):
chocolate = int(n/c) wr = chocolate while wr >= m: chocolate +=1 wr -= m wr += 1 return chocolate
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 →
my python solution:
def chocolateFeast(n, c, m):