Language: C

#include<stdio.h>

int main(){
    int A[3][3];
    int b[10];
    int bingo[4];

    for(int i=0;i<3;i++){
        for(int j=0;j<3;j++){
            scanf("%d",&A[i][j]);
        }
    }
    
    scanf("%d",&N);

    for(int i=0;i<10;i++){
        scanf("%d",&b[i]);
    }

    for(int i=0;i<3;i++){
        for(int j=0;j<3;j++){
            for(int k=0;k<10;k++){
                if(A[i]][j]==b[k]){
                    A[i][j] = 0;
                }
            }
        }
    }

    
    for(int i=0;i<3;i++){
        if(A[i]][0]==0 && A[i][1])==0 && A[i][2]==0){
            bingo[0] = 1;
        }
    }

    for(int j=0;j<3;j++){
        if(A[0]][j]==0 && A[1][j])==0 && A[2][j]==0){
            bingo[1] = 1;
        }
    }

    if(A[0][0]==0 && A[1][1]==0 && A[2][2]==0){
        bingo[2] = 1;
    }

    if(A[2][0]==0 && A[1][1]==0 && A[0][2]==0){
        bingo[3] = 1;
    }

    for(int i=0;i<4;i++){
        if(bingo[i]==1){
            printf("Yes");
            break;
        }
        printf("No");
    }

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:17: error: 'N' undeclared (first use in this function)
   14 |     scanf("%d",&N);
      |                 ^
main.c:14:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:23:24: error: expected ')' before ']' token
   23 |                 if(A[i]][j]==b[k]){
      |                   ~    ^
      |                        )
main.c:23:24: error: expected statement before ']' token
main.c:23:25: error: expected expression before '[' token
   23 |                 if(A[i]][j]==b[k]){
      |                         ^
main.c:23:34: error: expected statement before ')' token
   23 |                 if(A[i]][j]==b[k]){
      |                                  ^
main.c:32:16: error: expected ')' before ']' token
   32 |         if(A[i]][0]==0 && A[i][1])==0 && A[i][2]==0){
      |           ~    ^
      |                )
main.c:32:16: error: expected statement before ']' token
main.c:32:17: error: expected expression before '[' token
   32 |         if(A[i]][0]==0 && A[i][1])==0 && A[i][2]==0){
      |                 ^
main.c:32:34: error: expected statement before ')' token
   32 |         if(A[i]][0]==0 && A[i][1])==0 && A[i][2]==0){
      |                                  ^
main.c:32:35: error: expected expression before '==' token
   32 |         if(A[i]][0]==0 && A[i][1])==0 && A[i][2]==0){
      |                                   ^~
main.c:32:52: error: expected statement before ')' token
   32 |         if(A[i]][0]==0 && A[i][1])==0 && A[i][2]==0){
      |                                                    ^
main.c:38:16: error: expected ')' before ']' token
   38 |         if(A[0]][j]==0 && A[1][j])==0 && A[2][j]==0){
      |           ~    ^
      |                )
main.c:38:16: error: expected statement before ']' token
main.c:38:17: error: expected expression before '[' token
   38 |         if(A[0]][j]==0 && A[1][j])==0 && A[2][j]==0){
      |                 ^
main.c:38:34: error: expected statement before ')' token
   38 |         if(A[0]][j]==0 && A[1][j])==0 && A[2][j]==0){
      |                                  ^
main.c:38:35: error: expected expression before '==' token
   38 |         if(A[0]][j]==0 && A[1][j])==0 && A[2][j]==0){
      |                                   ^~
main.c:38:52: error: expected statement before ')' token
   38 |         if(A[0]][j]==0 && A[1][j])==0 && A[2][j]==0){
      |                                                    ^