http://noi.openjudge.cn/ch0103/15/
#include<iostream>
using namespace std;
int main(){
int n, x, y, z;
cin >> n >> x >> y;
if(y%x==0)
{
z = y / x;
}
else
{
z = y / x+1;
}
cout << n - z << endl;
return 0;
}
scratch2代码
scratch3代码
python代码见下面链接
https://blog.youkuaiyun.com/weixin_45852964/article/details/103090884