minerals.cpp: In function 'void solve(std::vector<int>, std::vector<int>)':
minerals.cpp:11:9: error: 'Answer' was not declared in this scope
11 | Answer(l[0],r[0]);
| ^~~~~~
minerals.cpp:16:9: error: 'Query' was not declared in this scope
16 | Query(l[i]);
| ^~~~~
minerals.cpp:26:18: error: 'Query' was not declared in this scope
26 | int cu =Query(r[i]);
| ^~~~~
minerals.cpp:39:9: error: 'Query' was not declared in this scope
39 | Query(l[i]);
| ^~~~~
minerals.cpp:43:9: error: 'Query' was not declared in this scope
43 | Query(r[i]);
| ^~~~~
minerals.cpp: In function 'void Solve(int)':
minerals.cpp:55:18: error: 'Query' was not declared in this scope
55 | int cu = Query(i+1);
| ^~~~~
minerals.cpp:68:9: error: 'Query' was not declared in this scope
68 | Query(i+1);
| ^~~~~