Run ID:70496
提交时间:2024-04-14 15:04:32
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y; cin >> n >> x >> y; if (y>n){ y = y-n; cout << n-(y/x+y%x) } else{ cout << n-(y/x+y%x) } return 0; }