Language: C++

#include<bits/stdc++.h>
using namespace std;
int n,b[10],a[3][3];
bool ake[3][3];
int main(){
  for(int i=0,i<3,i++)
    for(int j=o,j<3,j++)cin>>a[i][j];
  cin>>n;
  for(int i=0,i<n,i++)cin>>b[i];
  for(int i=0,i<3,i++){
    for(int j=0,j<3,j++){
      ake[i][j]="false";
      for(int k=0,k<n,k++)
        if(b[k]==a[i][j])
          ake[i][j]="true";
    }
  }
  string unko="No";
  for(int i=0,i<3,i++)
    if(ake[i][0] and ake[i][1] and ake[i][2])
      unko="Yes";
  for(int i=0,i<3,i++)
    if(ake[0][i] and ake[1][i] and ake[2][i])
      unko="Yes";
  if(ake[0][0] and ake[1][1] and ake[2][2])
    unko="Yes";
  if(ake[0][2] and ake[1][1] and ake[2][0])
    unko="Yes";
  cout<<unko<<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before '<' token
    6 |   for(int i=0,i<3,i++)
      |                ^
      |                ;
a.cc:6:16: error: expected primary-expression before '<' token
a.cc:6:22: error: expected ';' before ')' token
    6 |   for(int i=0,i<3,i++)
      |                      ^
      |                      ;
a.cc:7:15: error: 'o' was not declared in this scope
    7 |     for(int j=o,j<3,j++)cin>>a[i][j];
      |               ^
a.cc:9:3: error: expected primary-expression before 'for'
    9 |   for(int i=0,i<n,i++)cin>>b[i];
      |   ^~~
a.cc:8:10: error: expected ')' before 'for'
    8 |   cin>>n;
      |          ^
      |          )
    9 |   for(int i=0,i<n,i++)cin>>b[i];
      |   ~~~     
a.cc:7:8: note: to match this '('
    7 |     for(int j=o,j<3,j++)cin>>a[i][j];
      |        ^
a.cc:9:16: error: expected ';' before '<' token
    9 |   for(int i=0,i<n,i++)cin>>b[i];
      |                ^
      |                ;
a.cc:9:16: error: expected primary-expression before '<' token
a.cc:9:22: error: expected ';' before ')' token
    9 |   for(int i=0,i<n,i++)cin>>b[i];
      |                      ^
      |                      ;
a.cc:10:16: error: expected ';' before '<' token
   10 |   for(int i=0,i<3,i++){
      |                ^
      |                ;
a.cc:10:16: error: expected primary-expression before '<' token
a.cc:10:22: error: expected ';' before ')' token
   10 |   for(int i=0,i<3,i++){
      |                      ^
      |                      ;
a.cc:11:18: error: expected ';' before '<' token
   11 |     for(int j=0,j<3,j++){
      |                  ^
      |                  ;
a.cc:11:18: error: expected primary-expression before '<' token
a.cc:11:24: error: expected ';' before ')' token
   11 |     for(int j=0,j<3,j++){
      |                        ^
      |                        ;
a.cc:13:20: error: expected ';' before '<' token
   13 |       for(int k=0,k<n,k++)
      |                    ^
      |                    ;
a.cc:13:20: error: expected primary-expression before '<' token
a.cc:13:26: error: expected ';' before ')' token
   13 |       for(int k=0,k<n,k++)
      |                          ^
      |                          ;
a.cc:19:16: error: expected ';' before '<' token
   19 |   for(int i=0,i<3,i++)
      |                ^
      |                ;
a.cc:19:16: error: expected primary-expression before '<' token
a.cc:19:22: error: expected ';' before ')' token
   19 |   for(int i=0,i<3,i++)
      |                      ^
      |                      ;
a.cc:22:16: error: expected ';' before '<' token
   22 |   for(int i=0,i<3,i++)
      |                ^
      |                ;
a.cc:22:16: error: expected primary-expression before '<' token
a.cc:22:22: error: expected ';' before ')' token
   22 |   for(int i=0,i<3,i++)
      |                      ^
      |                      ;