Xoractive.cpp: In function 'vi guess(int)':
Xoractive.cpp:26:12: error: 'ask' was not declared in this scope
ans[0]=ask(1);
^~~
Xoractive.cpp:35:14: error: 'get_pairwise_xor' was not declared in this scope
vi a=get_pairwise_xor(cur);
^~~~~~~~~~~~~~~~
Xoractive.cpp:40:21: error: expected ';' before ':' token
cnt[i]++:
^
Xoractive.cpp:6:11: error: 'class std::map<int, int>' has no member named 'second'; did you mean 'cend'?
#define s second
^
Xoractive.cpp:51:19: note: in expansion of macro 's'
ans[check.s-1]=check.f;
^
Xoractive.cpp:5:11: error: 'class std::map<int, int>' has no member named 'first'
#define f first
^
Xoractive.cpp:51:30: note: in expansion of macro 'f'
ans[check.s-1]=check.f;
^