80分求助!
查看原帖
80分求助!
1465371
ab12345qw楼主2024/9/23 16:56

#include #include<math.h> int main() { double m,t,s,a,b; std::cin>>m>>t>>s; if (t==0) { std::cout << 0; return 0; } else { a=m-s/t; if (a<0) { std::cout << 0; return 0; } else { b=ceil(a); std::cout << b; return 0; } } }

2024/9/23 16:56
加载中...