Language: C++

#include<iostream>
using namespace std;

int B[11]={0};
int C[11]={0};

bool DFS(int *a,int i=0,int b=1,int c=1)
{
	bool judge=true;

	if(i==10)
		return judge;

	judge=false;

	if(B[b-1]<a[i]){
		B[b]=a[i];
		judge=DFS(a,i+1,b+1,c);
		
	}
	if(C[c-1]<a[i]){
		C[c]=a[i];
		judge=DFS(a,i+1,b,c+1);
		
	}

	return judge;
}        

int main()
{
        int N;
	int i=0;
        cin>>N;

		while(i<N){
			int A[10]={0};
			for(int i=0;i<10;i++)
				cin>>A[i];

            ??????????????????if(DFS(A)==true)
                ????????????????????????cout<<"YES"<<endl;
            ??????????????????else
		????????????????????????cout<<"NO"<<endl;

	????????????????????????i++;
        }
                
	
        return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:41:13: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |             ^
a.cc:41:14: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |              ^
a.cc:41:15: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |               ^
a.cc:41:16: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                ^
a.cc:41:17: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                 ^
a.cc:41:18: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                  ^
a.cc:41:19: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                   ^
a.cc:41:20: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                    ^
a.cc:41:21: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                     ^
a.cc:41:22: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                      ^
a.cc:41:23: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                       ^
a.cc:41:24: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                        ^
a.cc:41:25: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                         ^
a.cc:41:26: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                          ^
a.cc:41:27: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                           ^
a.cc:41:28: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                            ^
a.cc:41:29: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                             ^
a.cc:41:30: error: expected primary-expression before '?' token
   41 |             ??????????????????if(DFS(A)==true)
      |                              ^
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:41:31: error: expected ':' before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
      |                               :
a.cc:41:31: error: expected primary-expression before 'if'
   41 |             ??????????????????if(DFS(A)==true)
      |                               ^~
a.cc:43:13: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |             ^
a.cc:43:14: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |              ^
a.cc:43:15: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |               ^
a.cc:43:16: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |                ^
a.cc:43:17: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |                 ^
a.cc:43:18: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |                  ^
a.cc:43:19: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |                   ^
a.cc:43:20: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |                    ^
a.cc:43:21: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |                     ^
a.cc:43:22: error: expected primary-expression before '?' token
   43 |             ??????????????????else
      |