Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:7:2: error: 'map' was not declared in this scope
7 | map<int,int> d;
| ^~~
Xoractive.cpp:2:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?
1 | #include "interactive.h"
+++ |+#include <map>
2 | using namespace std;
Xoractive.cpp:7:6: error: expected primary-expression before 'int'
7 | map<int,int> d;
| ^~~
Xoractive.cpp:18:7: error: expected primary-expression before 'int'
18 | map<int,int> mp;
| ^~~
Xoractive.cpp:19:20: error: 'mp' was not declared in this scope; did you mean 'p'?
19 | for (int i : p1) mp[i]++;
| ^~
| p
Xoractive.cpp:20:20: error: 'mp' was not declared in this scope; did you mean 'p'?
20 | for (int i : p2) mp[i]--;
| ^~
| p
Xoractive.cpp:21:22: error: 'mp' was not declared in this scope; did you mean 'p'?
21 | for (auto [i, j] : mp) if (j != 0) {
| ^~
| p
Xoractive.cpp:22:4: error: 'd' was not declared in this scope
22 | d[i] |= (1 << i);
| ^
Xoractive.cpp:25:21: error: 'd' was not declared in this scope
25 | for (auto [i, j] : d) {
| ^