建议降红(你们觉得难吗)
原题链接:603.苹果和虫子2026-06-09 22:14:47
发布于:湖南
完全相同的入门题
完整代码
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
double n,x,y,c;
cin >> n >> x >> y;
c=n-ceil(y * 1.0 / x);
if (c < 0)
c = 0;
cout<<c<<endl;
return 0;
}
这里空空如也




















有帮助,赞一个