park.cpp: In function 'void Detect(int, int)':
park.cpp:5:5: error: 'vector' was not declared in this scope
5 | vector<int> known = {0};
| ^~~~~~
park.cpp:5:12: error: expected primary-expression before 'int'
5 | vector<int> known = {0};
| ^~~
park.cpp:6:12: error: expected primary-expression before 'int'
6 | vector<int> nodes;
| ^~~
park.cpp:7:32: error: 'nodes' was not declared in this scope
7 | for(int i = 1; i < N; i++) nodes.push_back(i);
| ^~~~~
park.cpp:9:12: error: 'nodes' was not declared in this scope
9 | while(!nodes.empty()) {
| ^~~~~
park.cpp:13:24: error: 'known' was not declared in this scope
13 | int l = 0, r = known.size() - 1;
| ^~~~~
park.cpp:22:16: error: 'Ask' was not declared in this scope
22 | if(Ask(0, node, a)) {
| ^~~
park.cpp:36:16: error: 'min' was not declared in this scope
36 | Answer(min(i, parent[i]), max(i, parent[i]));
| ^~~
park.cpp:36:35: error: 'max' was not declared in this scope
36 | Answer(min(i, parent[i]), max(i, parent[i]));
| ^~~
park.cpp:36:9: error: 'Answer' was not declared in this scope
36 | Answer(min(i, parent[i]), max(i, parent[i]));
| ^~~~~~