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:3:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
2 | #include "memory.h"
+++ |+#include <vector>
3 | using namespace std;
memory.cpp:6:13: error: 'pair' was not declared in this scope
6 | vector< pair<int, int> > v;
| ^~~~
memory.cpp:3:1: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
2 | #include "memory.h"
+++ |+#include <utility>
3 | using namespace std;
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:8:14: note: 'std::make_pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
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++){
| ^