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:37:9: error: expected primary-expression before '?' token
   37 |         ???int A[10]={0};
      |         ^
a.cc:37:10: error: expected primary-expression before '?' token
   37 |         ???int A[10]={0};
      |          ^
a.cc:37:11: error: expected primary-expression before '?' token
   37 |         ???int A[10]={0};
      |           ^
a.cc:37:12: error: expected primary-expression before 'int'
   37 |         ???int A[10]={0};
      |            ^~~
a.cc:37:12: error: expected ':' before 'int'
   37 |         ???int A[10]={0};
      |            ^~~
      |            :
a.cc:37:12: error: expected primary-expression before 'int'
   37 |         ???int A[10]={0};
      |            ^~~
a.cc:37:12: error: expected ':' before 'int'
   37 |         ???int A[10]={0};
      |            ^~~
      |            :
a.cc:37:12: error: expected primary-expression before 'int'
   37 |         ???int A[10]={0};
      |            ^~~
a.cc:37:12: error: expected ':' before 'int'
   37 |         ???int A[10]={0};
      |            ^~~
      |            :
a.cc:37:12: error: expected primary-expression before 'int'
   37 |         ???int A[10]={0};
      |            ^~~
a.cc:38:9: error: expected primary-expression before '?' token
   38 |         ???for(int i=0;i<10;i++){
      |         ^
a.cc:38:10: error: expected primary-expression before '?' token
   38 |         ???for(int i=0;i<10;i++){
      |          ^
a.cc:38:11: error: expected primary-expression before '?' token
   38 |         ???for(int i=0;i<10;i++){
      |           ^
a.cc:38:12: error: expected primary-expression before 'for'
   38 |         ???for(int i=0;i<10;i++){
      |            ^~~
a.cc:38:12: error: expected ':' before 'for'
   38 |         ???for(int i=0;i<10;i++){
      |            ^~~
      |            :
a.cc:38:12: error: expected primary-expression before 'for'
   38 |         ???for(int i=0;i<10;i++){
      |            ^~~
a.cc:38:12: error: expected ':' before 'for'
   38 |         ???for(int i=0;i<10;i++){
      |            ^~~
      |            :
a.cc:38:12: error: expected primary-expression before 'for'
   38 |         ???for(int i=0;i<10;i++){
      |            ^~~
a.cc:38:12: error: expected ':' before 'for'
   38 |         ???for(int i=0;i<10;i++){
      |            ^~~
      |            :
a.cc:38:12: error: expected primary-expression before 'for'
   38 |         ???for(int i=0;i<10;i++){
      |            ^~~
a.cc:38:32: error: expected ';' before ')' token
   38 |         ???for(int i=0;i<10;i++){
      |                                ^
      |                                ;
a.cc:42:18: error: 'A' was not declared in this scope
   42 |           if(DFS(A)==true){
      |                  ^
a.cc:49:9: error: expected primary-expression before '?' token
   49 |         ???i++;
      |         ^
a.cc:49:10: error: expected primary-expression before '?' token
   49 |         ???i++;
      |          ^
a.cc:49:11: error: expected primary-expression before '?' token
   49 |         ???i++;
      |           ^
a.cc:49:15: error: expected ':' before ';' token
   49 |         ???i++;
      |               ^
      |               :
a.cc:49:15: error: expected primary-expression before ';' token
a.cc:49:15: error: expected ':' before ';' token
   49 |         ???i++;
      |               ^
      |               :
a.cc:49:15: error: expected primary-expression before ';' token
a.cc:49:15: error: expected ':' before ';' token
   49 |         ???i++;
      |               ^
      |               :
a.cc:49:15: error: expected primary-expression before ';' token