提交时间:2020-07-28 16:38:27

运行 ID: 5239

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