We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
@ansonete's solution isn't actually fully correct unless you do the floor of that entire equation, as (floor(n/c) - 1) / (m - 1) represents a possible non-integer value.
I came to the same formula you did using the same principle.
Chocolate Feast
You are viewing a single comment's thread. Return to all comments →
@ansonete's solution isn't actually fully correct unless you do the floor of that entire equation, as (floor(n/c) - 1) / (m - 1) represents a possible non-integer value.
I came to the same formula you did using the same principle.