Run ID:70498
提交时间:2024-04-14 15:05:18
#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; }