#include <bits/stdc++.h> using namespace std; int main() { int x=0,n=0,y=0,a=0; cin>>n>>x>>y; a=n-y/x; if((y%x)>0) { a=a-1; } cout<<a<<endl; return 0; }
By signing up a 羽润编程 universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 羽润编程 universal account