Run ID:97748

提交时间:2024-11-16 14:50:18

#include<iostream> #include<cmath> using namespace std; int main(){ int n,x,y,kg; cin>>n>>x>>y; if(y%x != 0){ kg=y/x+1; } else{ kg+y/x; } if(n<kg){ cout<<0<<endl; } else{ cout<<n-kg<<endl; } }