You are viewing a single comment's thread. Return to all comments →
int feast = n/c; int wrappers = n/c; while(wrappers >= m){ wrappers = wrappers - m + 1; feast++; } return feast;
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 →
int feast = n/c; int wrappers = n/c; while(wrappers >= m){ wrappers = wrappers - m + 1; feast++; } return feast;