Anna.cpp: In function 'int nav(int, int, int, int)':
Anna.cpp:12:32: error: 'v' was not declared in this scope
12 | for (int i=0; i<7; i++)if(x1+v[i].F==x2 && y1+v[i].S==y2)return i;
| ^
Anna.cpp: In function 'void Anna(int, int, std::vector<int>, std::vector<int>)':
Anna.cpp:30:12: error: invalid types 'int[int]' for array subscript
30 | a[w][i][j]=(w+j+3*i+900)%9;
| ^
Anna.cpp:38:16: error: no matching function for call to 'std::vector<std::pair<int, int> >::erase(<brace-enclosed initializer list>)'
38 | v.erase({0, 0});
| ^
In file included from /usr/include/c++/10/vector:67,
from Anna.h:1,
from Anna.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:1430:7: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::iterator = std::vector<std::pair<int, int> >::iterator; std::vector<_Tp, _Alloc>::const_iterator = std::vector<std::pair<int, int> >::const_iterator]'
1430 | erase(const_iterator __position)
| ^~~~~
/usr/include/c++/10/bits/stl_vector.h:1430:28: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::vector<std::pair<int, int> >::const_iterator'
1430 | erase(const_iterator __position)
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1457:7: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator, std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::iterator = std::vector<std::pair<int, int> >::iterator; std::vector<_Tp, _Alloc>::const_iterator = std::vector<std::pair<int, int> >::const_iterator]'
1457 | erase(const_iterator __first, const_iterator __last)
| ^~~~~
/usr/include/c++/10/bits/stl_vector.h:1457:7: note: candidate expects 2 arguments, 1 provided
Anna.cpp:43:17: error: invalid types 'int[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]' for array subscript
43 | if(a[e][C[i]][R[i]]==i)u=1;
| ^
Anna.cpp:4:11: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'secopnd'; did you mean 'second'?
4 | #define S secopnd
| ^~~~~~~
Anna.cpp:49:37: note: in expansion of macro 'S'
49 | if(a[e][C[i]+v[j].F][R[i]+v[j].S]==i){
| ^
Anna.cpp:64:14: error: no matching function for call to 'std::vector<std::pair<int, int> >::erase(__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type&)'
64 | v.erase(v[E]);
| ^
In file included from /usr/include/c++/10/vector:67,
from Anna.h:1,
from Anna.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:1430:7: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::iterator = std::vector<std::pair<int, int> >::iterator; std::vector<_Tp, _Alloc>::const_iterator = std::vector<std::pair<int, int> >::const_iterator]'
1430 | erase(const_iterator __position)
| ^~~~~
/usr/include/c++/10/bits/stl_vector.h:1430:28: note: no known conversion for argument 1 from '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'std::pair<int, int>'} to 'std::vector<std::pair<int, int> >::const_iterator'
1430 | erase(const_iterator __position)
| ~~~~~~~~~~~~~~~^~~~~~~~~~
/usr/include/c++/10/bits/stl_vector.h:1457:7: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator, std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::vector<_Tp, _Alloc>::iterator = std::vector<std::pair<int, int> >::iterator; std::vector<_Tp, _Alloc>::const_iterator = std::vector<std::pair<int, int> >::const_iterator]'
1457 | erase(const_iterator __first, const_iterator __last)
| ^~~~~
/usr/include/c++/10/bits/stl_vector.h:1457:7: note: candidate expects 2 arguments, 1 provided
Anna.cpp:69:14: error: invalid types 'int[int]' for array subscript
69 | if(a[e][r][c]==7)SetFlag(r, c, E);
| ^
Anna.cpp:70:14: error: invalid types 'int[int]' for array subscript
70 | if(a[e][r][c]==8)SetFlag(r, c, 0);
| ^
Anna.cpp:71:17: error: invalid types 'int[int]' for array subscript
71 | if(a[e][r][c]<=6)SetFlag(r, c, nav(r, c, R[a[e][r][c]], C[a[e][r][c]]));
| ^
Anna.cpp:71:57: error: invalid types 'int[int]' for array subscript
71 | if(a[e][r][c]<=6)SetFlag(r, c, nav(r, c, R[a[e][r][c]], C[a[e][r][c]]));
| ^
Anna.cpp:71:72: error: invalid types 'int[int]' for array subscript
71 | if(a[e][r][c]<=6)SetFlag(r, c, nav(r, c, R[a[e][r][c]], C[a[e][r][c]]));
| ^
Anna.cpp: In function 'int nav(int, int, int, int)':
Anna.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
19 | }
| ^
Bruno.cpp:7:1: error: 'vector' does not name a type
7 | vector<int> Bruno(int K, vector<int> val) {
| ^~~~~~