Help me in solving RECENTCONT problem

My issue

My code

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	int t;
	cin>>t;
	while(t--){
	    int n;
	    cin>>n;
	    char arr[20]={"START38","LTIME108"};
	    for(int i=0;i<n;i++){
	        cin>>arr[20];
	    }
	    int count=0;
	    for(int i=0;i<n;i++){
	        if(arr[i]=="START38"){
	            count++;
	        }
	    }
	    cout<<count<<n-count<<endl;
	}
	return 0;
}

Problem Link: RECENTCONT Problem - CodeChef

Can anyone tell me what mistake I am doing in this code ?please tell the necessary corrections to me made in this code.

RIGHT CODE
include
using namespace std;

int main() {
int t;
cin>>t;
for(int i=0;i<t;i++)
{
int a;
cin>>a;
string arr[a];
int count=0;
int count2=0;
for(int i=0;i<a;i++)
{
cin>>arr[i];
}
for(int i=0;i<a;i++)
{
if(arr[i]==“START38”)
{
count=count+1;
}
else if(arr[i]==“LTIME108”)
{
count2=count2+1;
}
}
cout<<count<<" "<<count2<<endl;
}
return 0;
}