Language: C

                                            #include <stdio.h>
                                             
                                            int main(void){
                                              int i, j, k, n, A[3][3], b[10];
                                              char ans[100];
                                              int appear[3][3];
                                              for(i=0; i<3; i++){
                                                for(j=0; j<3; j++){
                                                  scanf("%d", &A[i][j]); 
                                                }
                                              }
                                              scanf("%d", &n);
                                              for(k=0; k<n; k++){
                                                scanf("%d\n", &b[k]);
                                              }
                                              for(i=0; i<3; i++){
                                                for(j=0; j<3; j++){
                                              		appear[i][j]=0;
                                              			for(k=0; k<n; k++){
                                                    		if(A[i][j]==b[k]){
                                                        		appear[i][j]=1;
                                                            }
                                                        }
                                                }
                                              }
                                              ans = "No";
                                              for(i=0; i<3; i++){
                                                if(appear[i][0] && appear[i][1] && appear[i][2] == 1){
                                                  ans = "Yes";
                                                }
                                              }for(i=0; i<3; i++){
                                                if(appear[0][i] && appear[1][i] && appear[2][i] == 1){
                                                  ans = "Yes";
                                                }
                                              }
                                              if(appear[0][0] && appear[1][1] && appear[2][2] == 1){ans = "Yes";}
                                              if(appear[0][2] && appear[1][1] && appear[2][0] == 1){ans = "Yes";}
                                              printf("%s", ans);
                                              return 0;
                                            }

Compiler output:
main.c: In function 'main':
main.c:26:51: error: assignment to expression with array type
   26 |                                               ans = "No";
      |                                                   ^
main.c:29:55: error: assignment to expression with array type
   29 |                                                   ans = "Yes";
      |                                                       ^
main.c:33:55: error: assignment to expression with array type
   33 |                                                   ans = "Yes";
      |                                                       ^
main.c:36:105: error: assignment to expression with array type
   36 |                                               if(appear[0][0] && appear[1][1] && appear[2][2] == 1){ans = "Yes";}
      |                                                                                                         ^
main.c:37:105: error: assignment to expression with array type
   37 |                                               if(appear[0][2] && appear[1][1] && appear[2][0] == 1){ans = "Yes";}
      |                                                                                                         ^