| 13 | using namespace std; |
| 14 | |
| 15 | int main(){ |
| 16 | int T = 0; |
| 17 | cin>>T; |
| 18 | while(T--){ |
| 19 | int N = 0; |
| 20 | cin>>N; |
| 21 | int A[1000]; |
| 22 | int flag = 0; |
| 23 | for(int i =0;i<N;i++){ |
| 24 | cin>>A[i]; |
| 25 | if(A[i]%2==0){ //if any element is even then we know answer is NO |
| 26 | flag = 1; |
| 27 | } |
| 28 | } |
| 29 | if(flag == 1){ |
| 30 | cout<<"NO"<<endl; |
| 31 | } |
| 32 | else{ |
| 33 | cout<<"YES"<<endl; |
| 34 | } |
| 35 | } |
| 36 | return 0; |
| 37 | } |
| 38 |
nothing calls this directly
no outgoing calls
no test coverage detected