提交时间:2024-11-16 11:53:23
运行 ID: 155
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y,sum=0; cin>>n>>x>>y; if(x < y) { cout<<n - (y/x + y%x); } else if(y<=x) { cout<<n-1; } }