func_code_string: #include<bits/stdc++.h>   using namespace std;      #define fastio ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)   #define f first   #define s second   #define for1(i,a,b) for (int i = a; i < b; i++)   #define for2(i,a,b) for (int i = a; i > b; i--)   #define arrin(a,n) for (int i = 0; i < n; i++) cin >> a[i];   #define arrout(a,n) for (int i = 0; i < n; i++) cout << a[i] <<    ; cout <<   n ;   #define arrin2d(a,m,n) for (int i = 0; i < m; i++){for (int j = 0; j < n; j++) cin >> a[i][j];}   #define arrout2d(a,m,n) for (int i = 0; i < m; i++){for (int j = 0; j < n; j++) cout << a[i][j] <<    ; cout <<   n ;}   #define w(t) int t; cin >> t; while(t--)   #define strin(s) getline(cin,s)   #define pushb push_back   #define popb pop_back   #define pushf push_front   #define popf pop_front   #define mp make_pair   #define lower_bound lb   #define upper_bound ub   #define yes cout <<  YES n    #define no cout <<  NO n       typedef long long ll;   typedef long double ld;   typedef vector<int> vi;   typedef vector<ll> vll;   typedef vector<pair<int,int>> vp;   typedef vector<char> vch;   typedef vector<string> vstr;   typedef set<ll> sll;   typedef pair<int,int> pi;   typedef map<int,int> mi;   typedef map<int,char> mch;   //typedef __int128_t vvlint;      const int inf = 1e9 + 7;   /*   freopen( input.txt ,  r , stdin);   freopen( output.txt ,  w , stdout);   */      void tc()   {    int a1,a2,a3,a4,a5,c1,c2,c3;    cin >> c1 >> c2 >> c3;    cin >> a1 >> a2 >> a3 >> a4 >> a5;        if (a1 <= c1 && a2 <= c2 && a3 <= c3)    {        c1 -= a1;        c2 -= a2;        c3 -= a3;                a4 -= min(a4,c1);        a5 -= min(a5,c2);                if (a4 + a5 <= c3)            yes;        else            no;    }    else        no;   }      int main()   {    fastio;        w(t)    {     tc();     }        return 0;    } 