Language: C++

#include<iostream>
#include<vector>
using namesoace std;
int main (){
  vector<vector<int>>vec;
  for(int i=0;i<3;i++){
    for(int j=0; j<3;j++){
      cin >> vec[i][j];
    }
  }
  for(int i=0;i<101;i++){
    for(int j=0;j<101;j++){
      b1=vec[0][0]-i;
      b2=vec[1][1]-i;
      b3=vec[2][2]-i;
      a3=vec[0][2]-b1;
      if(j+b1==vec[1][0] && j+b2==vec[1][1] && j+b3==vec[1][2] && a3+b2==vec[1][2] && a3+b3==vec[2][2]){
        cout << "Yes" << endl;
        return 0;
      }
        
    }
  }
  cout << "No" << endl;
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namesoace'
    3 | using namesoace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'vector' was not declared in this scope
    5 |   vector<vector<int>>vec;
      |   ^~~~~~
a.cc:5:3: note: suggested alternatives:
In file included from /usr/include/c++/14/vector:66,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_vector.h:428:11: note:   'std::vector'
  428 |     class vector : protected _Vector_base<_Tp, _Alloc>
      |           ^~~~~~
/usr/include/c++/14/vector:93:13: note:   'std::pmr::vector'
   93 |       using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
      |             ^~~~~~
a.cc:5:17: error: expected primary-expression before 'int'
    5 |   vector<vector<int>>vec;
      |                 ^~~
a.cc:8:7: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |       cin >> vec[i][j];
      |       ^~~
      |       std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:14: error: 'vec' was not declared in this scope
    8 |       cin >> vec[i][j];
      |              ^~~
a.cc:13:7: error: 'b1' was not declared in this scope
   13 |       b1=vec[0][0]-i;
      |       ^~
a.cc:13:10: error: 'vec' was not declared in this scope
   13 |       b1=vec[0][0]-i;
      |          ^~~
a.cc:14:7: error: 'b2' was not declared in this scope
   14 |       b2=vec[1][1]-i;
      |       ^~
a.cc:15:7: error: 'b3' was not declared in this scope
   15 |       b3=vec[2][2]-i;
      |       ^~
a.cc:16:7: error: 'a3' was not declared in this scope
   16 |       a3=vec[0][2]-b1;
      |       ^~
a.cc:18:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |         cout << "Yes" << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:18:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   18 |         cout << "Yes" << endl;
      |                          ^~~~
      |                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:24:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   24 |   cout << "No" << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:24:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   24 |   cout << "No" << endl;
      |                   ^~~~
      |                   std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~