memory.cpp: In function 'void play()':
memory.cpp:5:9: error: 'vector' was not declared in this scope
5 | vector<int> par[25];
| ^~~~~~
memory.cpp:5:9: note: suggested alternatives:
In file included from /usr/include/c++/11/vector:67,
from memory.cpp:1:
/usr/include/c++/11/bits/stl_vector.h:389:11: note: 'std::vector'
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from memory.cpp:1:
/usr/include/c++/11/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
memory.cpp:5:16: error: expected primary-expression before 'int'
5 | vector<int> par[25];
| ^~~
memory.cpp:8:13: error: 'par' was not declared in this scope
8 | par[c - 'A'].push_back(i);
| ^~~
memory.cpp:11:17: error: 'par' was not declared in this scope
11 | if (par[i].size() == 2) {
| ^~~