60分求助
查看原帖
60分求助
1131681
caiyuze114514楼主2024/8/4 16:01
#include<stdio.h> 
#include<math.h>
int main()
{   
    double m,t,s; 
	int h;
	scanf("%lf %lf %lf",&m,&t,&s);
	if(t!=0)
	h=floor((m*t-s)/t);
	else
	h=0;	
	printf("%d",h);
	return 0;
}
2024/8/4 16:01
加载中...