Advertisement
nguyentien281006

DIFNPLE

Aug 9th, 2022
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int a, b, c, d;
  5.  
  6. int main(){
  7.     ios::sync_with_stdio(false);
  8.     cin.tie(nullptr);
  9.     cin >> a >> b >> c>> d;
  10.     if(a+b>c+d) cout << "Yes\n";
  11.     else cout << "No\n";
  12.     return 0;
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement