题解 | #KiKi和酸奶#
KiKi和酸奶
https://www.nowcoder.com/practice/c7721f3a1b1a47a783974453e82cadbb
int main()
{
int n,h,m;
scanf("%d%d%d",&n,&h,&m);
int x;
if(m%h == 0)
{
x=m/h;
}
else
{
x=m/h+1;
}
printf("%d",n-x);
return 0;
}
{
int n,h,m;
scanf("%d%d%d",&n,&h,&m);
int x;
if(m%h == 0)
{
x=m/h;
}
else
{
x=m/h+1;
}
printf("%d",n-x);
return 0;
}