题目传送门
#include<iostream>
using namespace std;
int s[10001];
int main(){
int t,h=0;
cin>>t;
int n[t];
for(int i=0;i<=t;i++){
cin>>n[i];
for(int j=0;j<=n[i];j++){
cin>>s[j];
}
for(int j=0;j<=n[i];j++){
if(s[j]==0){
h=1;
break;
}
}
if(h=1) cout<<"yes"<<endl;
else cout<<"no"<<endl;
}
return 0;
}
求助,求助,求助……