memory.cpp:4:1: error: 'vector' does not name a type
4 | vector<int>v1(25);
| ^~~~~~
memory.cpp:5:1: error: 'vector' does not name a type
5 | vector<int>v2(25);
| ^~~~~~
memory.cpp: In function 'void play()':
memory.cpp:12:12: error: 'v1' was not declared in this scope; did you mean '__pstl::execution::v1'?
12 | x=v1[(i-50)/2];
| ^~
| __pstl::execution::v1
In file included from /usr/include/c++/11/pstl/glue_algorithm_defs.h:15,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from memory.cpp:3:
/usr/include/c++/11/pstl/execution_defs.h:19:18: note: '__pstl::execution::v1' declared here
19 | inline namespace v1
| ^~
memory.cpp:13:12: error: 'v2' was not declared in this scope
13 | y=v2[(i-50)/2];
| ^~
memory.cpp:20:10: error: 'v1' was not declared in this scope; did you mean '__pstl::execution::v1'?
20 | v1[a-65]=i+1;
| ^~
| __pstl::execution::v1
In file included from /usr/include/c++/11/pstl/glue_algorithm_defs.h:15,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from memory.cpp:3:
/usr/include/c++/11/pstl/execution_defs.h:19:18: note: '__pstl::execution::v1' declared here
19 | inline namespace v1
| ^~
memory.cpp:21:10: error: 'v2' was not declared in this scope
21 | v2[b-65]=i+2;
| ^~