求助虫子啊啊啊啊啊啊全是re
查看原帖
求助虫子啊啊啊啊啊啊全是re
795624
3145779708nb楼主2022/9/24 22:46
{
    int m,t,s,d,h;
    scanf("%d %d %d",&m,&t,&s);
    d=s/t;
    if(t=0){printf("%d",m);return 0;
    }
      else if(s%t==0){d=s/t;}
     else {d=s/t+1;}


    h=m-d;
       if(h>0)
    {printf("%d",h);}
    else  {printf("0");}

    return 0;
}
2022/9/24 22:46
加载中...