Advertisement
Saleh127

Untitled

Apr 26th, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5. long long int a,b,c,d,e=0,f=0,i,j,k,l;
  6. cin>>a>>b>>c>>d;
  7. for(i=0 ; ; i++)
  8. {
  9. c=c-b;
  10. a=a-d;
  11. if(c<=0 || a<=0) break;
  12. }
  13. if(c<=0)
  14. printf("Yes\n");
  15. else
  16. printf("No\n");
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement