Run ID:119343

提交时间:2025-05-17 14:24:29

#include <bits/stdc++.h> using namespace std; int main (){ int n,y,x; cin>>x>>y>>n; if(y % x >= n){ cout<<0; }else{ if(y % x == 0) cout<<n-y/x; else cout<<n-y/x-1; } return 0; }