wall.cpp:10:1: error: 'vector' does not name a type
10 | vector<int> medis;
| ^~~~~~
wall.cpp: In function 'v* konstruok(int, int)':
wall.cpp:14:5: error: 'dab' was not declared in this scope
14 | dab=&medis[cur];
| ^~~
wall.cpp:14:10: error: 'medis' was not declared in this scope
14 | dab=&medis[cur];
| ^~~~~
wall.cpp:21:9: error: return-statement with no value, in function returning 'v*' [-fpermissive]
21 | return;
| ^~~~~~
wall.cpp: In function 'void buildWall(int, int, int*, int*, int*, int*, int*)':
wall.cpp:38:5: error: 'konstruot' was not declared in this scope; did you mean 'konstruok'?
38 | konstruot(1, n);
| ^~~~~~~~~
| konstruok
wall.cpp: In function 'v* konstruok(int, int)':
wall.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
24 | }
| ^