Run ID:97747

提交时间:2024-11-16 14:49:09

#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; } }