Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  
  int N;
  cin >> N;
 
  vector<vector<int>> vec (3,vector<int>(3));
  
  for(int i = 0; i<3; i++){
    for(int j =0; j<3; j++){
      cin >> vec.at(i).at(j);
    }
  }
  
  vector<int> Num (N);
   for(int i = 0; i<3; i++){
      cin >> Num.at(i); 
  }
  vector<vector<bool>> A(3,vector<bool>(3,false));
  
  for(int i = 0; i<3; i++){
    for(int j =0; j<3; j++){
      for(int k = 0; k<N; k++){
     if(Num.at(k) == vec.at(i).at(j)){
       A.at(i).at(j) = true; 
       }
      }
    }
  }
  for(int i = 0; i<3; i++){
   if(Num.at(i).at(0) == Num.at(i).at(1)&& Num.at(i).at(1) == Num.at(i).at(2)){
     cout << "Yes" << endl;
    }else if(Num.at(0).at(i) == Num.at(1).at(i)&& Num.at(1).at(i) == Num.at(2).at(i)){
      cout << "Yes" << endl;
   }else if(Num.at(0).at(0) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(2)){
     cout << "Yes" << endl;
   }else if(Num.at(0).at(2) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(0)){
     cout << "Yes" << endl;
   }else{
     cout << "No" << endl;
   }
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:33:17: error: request for member 'at' in 'Num.std::vector<int>::at(((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   33 |    if(Num.at(i).at(0) == Num.at(i).at(1)&& Num.at(i).at(1) == Num.at(i).at(2)){
      |                 ^~
a.cc:33:36: error: request for member 'at' in 'Num.std::vector<int>::at(((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   33 |    if(Num.at(i).at(0) == Num.at(i).at(1)&& Num.at(i).at(1) == Num.at(i).at(2)){
      |                                    ^~
a.cc:33:54: error: request for member 'at' in 'Num.std::vector<int>::at(((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   33 |    if(Num.at(i).at(0) == Num.at(i).at(1)&& Num.at(i).at(1) == Num.at(i).at(2)){
      |                                                      ^~
a.cc:33:73: error: request for member 'at' in 'Num.std::vector<int>::at(((std::vector<int>::size_type)i))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   33 |    if(Num.at(i).at(0) == Num.at(i).at(1)&& Num.at(i).at(1) == Num.at(i).at(2)){
      |                                                                         ^~
a.cc:35:24: error: request for member 'at' in 'Num.std::vector<int>::at(0)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   35 |     }else if(Num.at(0).at(i) == Num.at(1).at(i)&& Num.at(1).at(i) == Num.at(2).at(i)){
      |                        ^~
a.cc:35:43: error: request for member 'at' in 'Num.std::vector<int>::at(1)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   35 |     }else if(Num.at(0).at(i) == Num.at(1).at(i)&& Num.at(1).at(i) == Num.at(2).at(i)){
      |                                           ^~
a.cc:35:61: error: request for member 'at' in 'Num.std::vector<int>::at(1)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   35 |     }else if(Num.at(0).at(i) == Num.at(1).at(i)&& Num.at(1).at(i) == Num.at(2).at(i)){
      |                                                             ^~
a.cc:35:80: error: request for member 'at' in 'Num.std::vector<int>::at(2)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   35 |     }else if(Num.at(0).at(i) == Num.at(1).at(i)&& Num.at(1).at(i) == Num.at(2).at(i)){
      |                                                                                ^~
a.cc:37:23: error: request for member 'at' in 'Num.std::vector<int>::at(0)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   37 |    }else if(Num.at(0).at(0) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(2)){
      |                       ^~
a.cc:37:42: error: request for member 'at' in 'Num.std::vector<int>::at(1)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   37 |    }else if(Num.at(0).at(0) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(2)){
      |                                          ^~
a.cc:37:61: error: request for member 'at' in 'Num.std::vector<int>::at(1)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   37 |    }else if(Num.at(0).at(0) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(2)){
      |                                                             ^~
a.cc:37:79: error: request for member 'at' in 'Num.std::vector<int>::at(2)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   37 |    }else if(Num.at(0).at(0) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(2)){
      |                                                                               ^~
a.cc:39:23: error: request for member 'at' in 'Num.std::vector<int>::at(0)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   39 |    }else if(Num.at(0).at(2) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(0)){
      |                       ^~
a.cc:39:42: error: request for member 'at' in 'Num.std::vector<int>::at(1)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   39 |    }else if(Num.at(0).at(2) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(0)){
      |                                          ^~
a.cc:39:61: error: request for member 'at' in 'Num.std::vector<int>::at(1)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   39 |    }else if(Num.at(0).at(2) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(0)){
      |                                                             ^~
a.cc:39:79: error: request for member 'at' in 'Num.std::vector<int>::at(2)', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
   39 |    }else if(Num.at(0).at(2) == Num.at(1).at(1) && Num.at(1).at(1)== Num.at(2).at(0)){
      |                                                                               ^~