memory.cpp: In function 'void play()':
memory.cpp:6:4: error: 'vectorvector' was not declared in this scope
6 | vectorvector<int>> p(25);
| ^~~~~~~~~~~~
memory.cpp:6:17: error: expected primary-expression before 'int'
6 | vectorvector<int>> p(25);
| ^~~
memory.cpp:7:30: error: 'p' was not declared in this scope
7 | for (int i=1; i<=50; i++) p[faceup(i)-1].push_back(i);
| ^
memory.cpp:8:9: error: 'vector' was not declared in this scope
8 | for (vector<int> v : p) faceup(p[1]); faceup(p[2]);
| ^~~~~~
memory.cpp:8:9: note: suggested alternatives:
In file included from /usr/include/c++/10/vector:67,
from memory.cpp:3:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'std::vector'
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from memory.cpp:3:
/usr/include/c++/10/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
memory.cpp:8:16: error: expected primary-expression before 'int'
8 | for (vector<int> v : p) faceup(p[1]); faceup(p[2]);
| ^~~
memory.cpp:8:49: error: 'p' was not declared in this scope
8 | for (vector<int> v : p) faceup(p[1]); faceup(p[2]);
| ^
memory.cpp:9:1: error: expected primary-expression before '}' token
9 | }
| ^
memory.cpp:8:55: error: expected ')' before '}' token
8 | for (vector<int> v : p) faceup(p[1]); faceup(p[2]);
| ~ ^
| )
9 | }
| ~
memory.cpp:9:1: error: expected primary-expression before '}' token
9 | }
| ^