Run ID:108390
提交时间:2025-01-20 10:45:46
#include<iostream> using namespace std; int main(){ int n,x,y,z; cin>>n>>x>>y; z=n-y/x; if(y%x!=0){ z-=1; } if(z<=0){ cout<<0<<endl; } else{ cout<<z<<endl; } return 0; }