27 April 2017

Candies

My solution:
int candies(int n, int m) 
{
    return m / n * n;
}