Run ID:97742
提交时间:2024-11-16 14:45:12
#include<iostream> 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; } }