题解 | #KiKi和酸奶#
KiKi和酸奶
http://www.nowcoder.com/practice/c7721f3a1b1a47a783974453e82cadbb
#include<stdio.h>
int main()
{ //输入整数n,h,m
int n,h,m;
//多组输入,注意输入的整数之间有空格
while(scanf("%d %d %d",&n,&h,&m)!=EOF)
{
if(m%h==0)
printf("%d\n",n-(m/h));
else
printf("%d\n",n-(m/h)-1);
}
return 0;
}