func_code_string: #include <bits/stdc++.h>   using namespace std;   long long int mod = 1000000007;   void __print(long long int x) { cerr << x; }   void __print(unsigned x) { cerr << x; }   void __print(unsigned long x) { cerr << x; }   void __print(unsigned long long x) { cerr << x; }   void __print(float x) { cerr << x; }   void __print(double x) { cerr << x; }   void __print(long double x) { cerr << x; }   void __print(char x) { cerr <<      << x <<     ; }   void __print(const char *x) { cerr <<     << x <<    ; }   void __print(const string &x) { cerr <<     << x <<    ; }   void __print(bool x) { cerr << (x ?  true  :  false ); }   template <typename Th, typename V>   void __print(const pair<Th, V> &x) {     cerr <<  { ;     __print(x.first);     cerr <<  , ;     __print(x.second);     cerr <<  } ;   }   template <typename Th>   void __print(const Th &x) {     long long int f = 0;     cerr <<  { ;     for (auto &i : x) cerr << (f++ ?  ,  :   ), __print(i);     cerr <<  } ;   }   void _print() { cerr <<  ] n ; }   template <typename Th, typename... V>   void _print(Th t, V... v) {     __print(t);     if (sizeof...(v)) cerr <<  ,  ;     _print(v...);   }   void binary_rock() {     long long int v, c, n, m;     cin >> v >> c >> n >> m;     if (v + c < n + m) {       cout <<  No  << endl;       return;     }     long long int mini = min(v, c);     if (mini >= m) {       cout <<  Yes  << endl;       return;     }     if (v >= c) {       long long int req = (v - c);       if (n < req) {         cout <<  No  << endl;         return;       }       n -= req;       v -= req;       if (n >= m) {         cout <<  Yes  << endl;         return;       }       m -= n;       v -= n;       c -= n;       n -= n;       if (m > v) {         cout <<  No  << endl;         return;       } else {         cout <<  Yes  << endl;         return;       }       return;     } else {       long long int req = (c - v);       if (n < req) {         cout <<  No  << endl;       } else {         n -= req;         c -= req;         if (n >= m) {           cout <<  Yes  << endl;           return;         }         m -= n;         v -= n;         c -= n;         n -= n;         if (m > v) {           cout <<  No  << endl;           return;         } else {           cout <<  Yes  << endl;           return;         }         cout <<  Yes  << endl;       }       return;     }   }   signed main() {     ios::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     clock_t t1 = clock();     long long int t = 1;     cin >> t;     while (t--) {       binary_rock();     }     clock_t t2 = clock();     return 0;   }   