#include<bits/stdc++.h> using namespace std; #define ll long long int int main() { ll n,m,x,y; ll t; cin>>n>>m>>x>>y; t=m+y; ll s; if((t/x)>n) cout<<n; else cout<<t/x; return 0; }

what is wrong in the above mentioned code

Plz send the code by saving on ide only, it is difficult to understand like this