memory.cpp: In function 'void play()':
memory.cpp:6:5: error: 'vector' was not declared in this scope
6 | vector< pair<int, int> > v;
| ^~~~~~
memory.cpp:6:13: error: 'pair' was not declared in this scope
6 | vector< pair<int, int> > v;
| ^~~~
memory.cpp:6:18: error: expected primary-expression before 'int'
6 | vector< pair<int, int> > v;
| ^~~
memory.cpp:8:9: error: 'v' was not declared in this scope
8 | v.pb(make_pair(0, 0));
| ^
memory.cpp:8:14: error: 'make_pair' was not declared in this scope
8 | v.pb(make_pair(0, 0));
| ^~~~~~~~~
memory.cpp:13:12: error: 'v' was not declared in this scope
13 | if(v[a - 'A'].first != 0){
| ^
memory.cpp:19:12: error: 'v' was not declared in this scope
19 | if(v[b - 'A'].first != 0){
| ^
memory.cpp:26:24: error: 'v' was not declared in this scope
26 | for(int i = 0; i < v.size(); i++){
| ^