20分求助
查看原帖
20分求助
1014410
Ac_Code_cn_com楼主2023/10/17 18:08
#include<bits/stdc++.h>
using namespace std;
long long a,b,c,bj=0;
int main(){
	cin>>a;
	for(int i=1;i<=a;i++){
		bj=0;
		cin>>b;
		for(int j=1;j<=b;j++){
			cin>>c;
			if(c==0)bj=1;
		}
		if(bj=1)cout<<"yes"<<endl;
		else cout<<"no"<<endl;
	}
	return 0;
}
2023/10/17 18:08
加载中...