Run ID:98142
提交时间:2024-11-17 14:15:42
#include<iostream> using namespace std; int main(){ int n,x,y; cin >> n >> x >> y; if(n- y/x < 1){ cout << "0" <<endl; } if(y%x == 0){ cout << n - y/x << endl; } else{ cout << n - y/x-1<<endl; } return 0; }