func_code_string: #include<bits/stdc++.h>   using namespace std;   typedef long long ll;      void solve()   {       int x,y;       cin>>x>>y;       string s;       cin>>s;       int cR=0,cU=0,cL=0,cD=0;       for(int i=0;i<s.size();i++)       {           if(s[i]== R )               cR++;           else if(s[i]== U )               cU++;           else if(s[i]== L )               cL++;           else               cD++;       }       //cout<<cR<<   <<cL<<   <<cU<<   <<cD<<  n ;       if(x>0&&y>0)       {           if(cR>=x&&cU>=y)               cout<< YES n ;           else               cout<< NO n ;       }       else if(x>0&&y<0)       {           if(cR>=x&&cD>=abs(y))               cout<< YES n ;           else               cout<< NO n ;       }       else if(x<0&&y>0)       {           if(cL>=abs(x)&&cU>=y)               cout<< YES n ;           else               cout<< NO n ;       }       else if(x<0&&y<0)       {           if(cL>=abs(x)&&cD>=abs(y))               cout<< YES n ;           else               cout<< NO n ;       }       else       {           if(x>0&&y==0)           {               if(cR>=x)                   cout<< YES n ;               else                   cout<< NO n ;           }           else if(x<0&&y==0)           {               if(cL>=abs(x))                   cout<< YES n ;               else                   cout<< NO n ;           }           else if(x==0&&y>0)           {               if(cU>=y)                   cout<< YES n ;               else                   cout<< NO n ;           }           else if(x==0&&y<0)           {               if(cD>=abs(y))                   cout<< YES n ;               else                   cout<< NO n ;           }           else               cout<< NO n ;       }   }   int main()   {      int t;      ios::sync_with_stdio(false);      cin>>t;      cin.tie(0);      cout.tie(0);      while(t--)       solve();      return 0;   }                  