TLE求调
查看原帖
TLE求调
1186526
Besheep楼主2024/7/5 15:31
#include <bits/stdc++.h>
using namespace std;

int main() {
	int t, n, a;
	bool b = 0;
	cin >> t;
	while(t--){
		cin >> n;
		for (int j = 1; j <= n; n++) {
			cin >> a;
			if (a == 0)
				b = 1;

		}
		if (b == 1)
			cout << "yes" << endl;
		else
			cout << "no" << endl;
	}
	return 0;
}
2024/7/5 15:31
加载中...