island.cpp: In function 'int main()':
island.cpp:9:18: error: 'F' was not declared in this scope
9 | int cur = 1; F[N + 1] = {}, Ex[N + 1] = {};
| ^
island.cpp:9:33: error: 'Ex' was not declared in this scope
9 | int cur = 1; F[N + 1] = {}, Ex[N + 1] = {};
| ^~
island.cpp:17:17: error: 'query' was not declared in this scope
17 | int f = query(cur, 1);
| ^~~~~
island.cpp:22:25: error: 'answer' was not declared in this scope
22 | answer(cur, f);
| ^~~~~~
island.cpp:26:25: error: 'answer' was not declared in this scope
26 | answer(cur, ex);
| ^~~~~~
island.cpp:36:25: error: 'answer' was not declared in this scope
36 | answer(cur, f);
| ^~~~~~