50分求助
查看原帖
50分求助
917307
apriI楼主2023/1/3 20:12
#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    cin>>n;
    for(int i=1;i<=n;i++)
    {
        int j;
        cin>>j;
        bool a=false;
        for(int z=1;z<=j;z++)
        {
            int m;
            cin>>m;
            if(m==0)
            {
                a=true;
                break;
            }
        }
        if(a==true)
          cout<<"yes"<<endl;
        else
          cout<<"no"<<endl;
    } 
    return 0;
}

AC+AC+AC+AC+WA+AC+TLE+TLE+WA+WA

2023/1/3 20:12
加载中...