image.png


#include<stdio.h>
int main()
{
    int m = 0;//总的酸奶数
    int n = 0;//每多少分钟能喝光一瓶酸奶
    int h = 0;//经过的分钟数
    int sum = 0;
    while(scanf("%d %d %d",&m,&n,&h)!=EOF)
    {
        if(h%n!=0)
        {
            sum=m-(h/n)-1;
        }
        else
            sum=m-h/n;
        printf("%d",sum);
    }
    return 0;
}