need help in beautiful array (problem in beginner section).

Can anyone explain what is wrong with this code? I dont see anything wrong in it. Please help.

#include
using namespace std;

int main(){
int T;
cin>>T;
int n;
int x=0;
int y=0;
int a=0;

for(int m=0;m<T;m++){
cin>>n;
int Asshole[n];
for(int k=0;k<n;k++){
cin>>Asshole[k];
if(Asshole[k]==1){
x++;
}
if(Asshole[k]==-1){
y++;
}
if(Asshole[k]!=1&&Asshole[k]!=0&&Asshole[k]!=-1){
a++;
}
if(a>1|| (y>1&&x==0)||(a>0&&y>0)){
cout<<“no”<<endl;
}else{
cout<<“yes”<<endl;
}

}

}

return 0;
}

//