Language: C++

#include<bits/stdc++.h>
using namespace std;
int n,b[10],a[3][3];
bool ake[3][3];
int main(){
  for(i=0,i<3,i++)
    for(j=o,j<3,j++)cin>>a[i][j];
  cin>>n;
  for(i=0,i<n,i++)cin>>b[i];
  for(i=0,i<3,i++){
    for(j=0,j<3,j++){
      ake[i][j]="false";
      for(k=0,k<n,k++)
        if(b[k]==a[i][j])
          ake[i][j]="true";
    }
  }
  string unko="No";
  for(i=0,i<3,i++)
    if(ake[i][0] and ake[i][1] and ake[i][2])
      unko="Yes";
  for(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:7: error: 'i' was not declared in this scope
    6 |   for(i=0,i<3,i++)
      |       ^
a.cc:9:3: error: expected primary-expression before 'for'
    9 |   for(i=0,i<n,i++)cin>>b[i];
      |   ^~~
a.cc:8:10: error: expected ')' before 'for'
    8 |   cin>>n;
      |          ^
      |          )
    9 |   for(i=0,i<n,i++)cin>>b[i];
      |   ~~~     
a.cc:6:6: note: to match this '('
    6 |   for(i=0,i<3,i++)
      |      ^
a.cc:10:3: error: expected primary-expression before 'for'
   10 |   for(i=0,i<3,i++){
      |   ^~~
a.cc:9:29: error: expected ';' before 'for'
    9 |   for(i=0,i<n,i++)cin>>b[i];
      |                             ^
      |                             ;
   10 |   for(i=0,i<3,i++){
      |   ~~~                        
a.cc:10:3: error: expected primary-expression before 'for'
   10 |   for(i=0,i<3,i++){
      |   ^~~
a.cc:9:29: error: expected ')' before 'for'
    9 |   for(i=0,i<n,i++)cin>>b[i];
      |      ~                      ^
      |                             )
   10 |   for(i=0,i<3,i++){
      |   ~~~                        
a.cc:18:15: error: could not convert 'unko' from 'std::string' {aka 'std::__cxx11::basic_string<char>'} to 'bool'
   18 |   string unko="No";
      |               ^~~~
      |               |
      |               std::string {aka std::__cxx11::basic_string<char>}
a.cc:19:3: error: expected primary-expression before 'for'
   19 |   for(i=0,i<3,i++)
      |   ^~~
a.cc:18:20: error: expected ')' before 'for'
   18 |   string unko="No";
      |                    ^
      |                    )
   19 |   for(i=0,i<3,i++)
      |   ~~~               
a.cc:10:6: note: to match this '('
   10 |   for(i=0,i<3,i++){
      |      ^
a.cc:22:3: error: expected primary-expression before 'for'
   22 |   for(i=0,i<3,i++)
      |   ^~~
a.cc:21:18: error: expected ';' before 'for'
   21 |       unko="Yes";
      |                  ^
      |                  ;
   22 |   for(i=0,i<3,i++)
      |   ~~~             
a.cc:22:3: error: expected primary-expression before 'for'
   22 |   for(i=0,i<3,i++)
      |   ^~~
a.cc:21:18: error: expected ')' before 'for'
   21 |       unko="Yes";
      |                  ^
      |                  )
   22 |   for(i=0,i<3,i++)
      |   ~~~             
a.cc:19:6: note: to match this '('
   19 |   for(i=0,i<3,i++)
      |      ^
a.cc:25:3: error: expected primary-expression before 'if'
   25 |   if(ake[0][0] and ake[1][1] and ake[2][2])
      |   ^~
a.cc:24:18: error: expected ';' before 'if'
   24 |       unko="Yes";
      |                  ^
      |                  ;
   25 |   if(ake[0][0] and ake[1][1] and ake[2][2])
      |   ~~              
a.cc:25:3: error: expected primary-expression before 'if'
   25 |   if(ake[0][0] and ake[1][1] and ake[2][2])
      |   ^~
a.cc:24:18: error: expected ')' before 'if'
   24 |       unko="Yes";
      |                  ^
      |                  )
   25 |   if(ake[0][0] and ake[1][1] and ake[2][2])
      |   ~~              
a.cc:22:6: note: to match this '('
   22 |   for(i=0,i<3,i++)
      |      ^
a.cc:28:5: error: 'unko' was not declared in this scope
   28 |     unko="Yes";
      |     ^~~~
a.cc:29:9: error: 'unko' was not declared in this scope
   29 |   cout<<unko<<endl;
      |         ^~~~