Language: C

#include<stdio.h>
int main(void){
  int s[2][2],i,n[11],k,g,count=0;
  for(i=0;i<3;i++){for(n=0;n<3;n++){scanf("%d",&s[i][n];)}}
  scanf("%d",&b);
  i=0; n=0;
  for(k=0;k<b;k++){
  scanf("%d",&g);
  for(i=0;i<3;i++){
    for(n=0;n<3;n++){
      if(s[i][n]==g) {s[i][n]=0;} }}}
  i=0; n=0;
  for(i=0;i<3;i++){
    for(n=0;n<3;n++){
      if(s[i][n]==0){count++;}
      if(count==3){puts("Yes");return 0;}
        }count=0;}
  i=0;n=0;
  for(n=0;n<3;n++){
    for(i=0;i<3;i++){
      if(s[i][n]==0){count++;}
      if(count==3){puts("Yes");return 0;}
    }count=0;}
  if(s[1][1]==0&&s[2][2]==0&&s[3][3]==0) {puts("Yes")};return 0;}
  if(s[1][3]==0&&s[2][2]==0&&s[2][2]==0) {puts("Yes")};return 0;}
puts("No");
 return 0; 
}


Compiler output:
main.c: In function 'main':
main.c:4:25: error: assignment to expression with array type
    4 |   for(i=0;i<3;i++){for(n=0;n<3;n++){scanf("%d",&s[i][n];)}}
      |                         ^
main.c:4:29: warning: comparison between pointer and integer
    4 |   for(i=0;i<3;i++){for(n=0;n<3;n++){scanf("%d",&s[i][n];)}}
      |                             ^
main.c:4:33: error: lvalue required as increment operand
    4 |   for(i=0;i<3;i++){for(n=0;n<3;n++){scanf("%d",&s[i][n];)}}
      |                                 ^~
main.c:4:53: error: array subscript is not an integer
    4 |   for(i=0;i<3;i++){for(n=0;n<3;n++){scanf("%d",&s[i][n];)}}
      |                                                     ^
main.c:4:56: error: expected ')' before ';' token
    4 |   for(i=0;i<3;i++){for(n=0;n<3;n++){scanf("%d",&s[i][n];)}}
      |                                          ~             ^
      |                                                        )
main.c:4:58: error: expected ';' before '}' token
    4 |   for(i=0;i<3;i++){for(n=0;n<3;n++){scanf("%d",&s[i][n];)}}
      |                                                          ^
      |                                                          ;
main.c:5:15: error: 'b' undeclared (first use in this function)
    5 |   scanf("%d",&b);
      |               ^
main.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:9: error: assignment to expression with array type
    6 |   i=0; n=0;
      |         ^
main.c:10:10: error: assignment to expression with array type
   10 |     for(n=0;n<3;n++){
      |          ^
main.c:10:14: warning: comparison between pointer and integer
   10 |     for(n=0;n<3;n++){
      |              ^
main.c:10:18: error: lvalue required as increment operand
   10 |     for(n=0;n<3;n++){
      |                  ^~
main.c:11:14: error: array subscript is not an integer
   11 |       if(s[i][n]==g) {s[i][n]=0;} }}}
      |              ^
main.c:11:27: error: array subscript is not an integer
   11 |       if(s[i][n]==g) {s[i][n]=0;} }}}
      |                           ^
main.c:12:9: error: assignment to expression with array type
   12 |   i=0; n=0;
      |         ^
main.c:14:10: error: assignment to expression with array type
   14 |     for(n=0;n<3;n++){
      |          ^
main.c:14:14: warning: comparison between pointer and integer
   14 |     for(n=0;n<3;n++){
      |              ^
main.c:14:18: error: lvalue required as increment operand
   14 |     for(n=0;n<3;n++){
      |                  ^~
main.c:15:14: error: array subscript is not an integer
   15 |       if(s[i][n]==0){count++;}
      |              ^
main.c:18:8: error: assignment to expression with array type
   18 |   i=0;n=0;
      |        ^
main.c:19:8: error: assignment to expression with array type
   19 |   for(n=0;n<3;n++){
      |        ^
main.c:19:12: warning: comparison between pointer and integer
   19 |   for(n=0;n<3;n++){
      |            ^
main.c:19:16: error: lvalue required as increment operand
   19 |   for(n=0;n<3;n++){
      |                ^~
main.c:21:14: error: array subscript is not an integer
   21 |       if(s[i][n]==0){count++;}
      |              ^
main.c:24:54: error: expected ';' before '}' token
   24 |   if(s[1][1]==0&&s[2][2]==0&&s[3][3]==0) {puts("Yes")};return 0;}
      |                                                      ^
      |                                                      ;
main.c: At top level:
main.c:25:3: error: expected identifier or '(' before 'if'
   25 |   if(s[1][3]==0&&s[2][2]==0&&s[2][2]==0) {puts("Yes")};return 0;}
      |   ^~
main.c:25:56: error: expected identifier or '(' before 'return'
   25 |   if(s[1][3]==0&&s[2][2]==0&&s[2][2]==0) {puts("Yes")};return 0;}
      |                                                        ^~~~~~
main.c:25:65: error: expected identifier or '(' before '}' token
   25 |   if(s[1][3]==0&&s[2][2]==0&&s[2][2]==0) {puts("Yes")};return 0;}
      |                                                                 ^
main.c:26:6: error: expected declaration specifiers or '...' before string constant
   26 | puts("No");
      |      ^~~~
main.c:27:2: error: expected identifier or '(' before 'return'
   27 |  return 0;
      |  ^~~~~~
main.c:28:1: error: expected identifier or '(' before '}' token
   28 | }
      | ^