有一个RE
#include <iostream> using namespace std; int main() { int n,x,y,s,c; cin>>n>>x>>y; c=y/x; if(y<x*n) { if(y%x!=0) { s=n-c-1;; } else { s=n-c; } cout<<s<<endl; } else { cout<<0<<endl; } return 0; }