xylophone.cpp: In function 'void solve(long long int)':
xylophone.cpp:9:10: error: 'query' was not declared in this scope
9 | p[i] = query(i,i+1);
| ^~~~~
xylophone.cpp:12:13: error: 'query' was not declared in this scope
12 | trio[i] = query(i,i+2);
| ^~~~~
xylophone.cpp:33:6: error: 'a' was not declared in this scope
33 | if(a[i] < a[minn]){
| ^
xylophone.cpp:36:6: error: 'a' was not declared in this scope
36 | if(a[i] > a[maxx]){
| ^
xylophone.cpp:40:12: error: 'a' was not declared in this scope
40 | ll temp = a[minn];
| ^
xylophone.cpp:45:23: error: expected ';' before ')' token
45 | for(int i = i<=n;i++){
| ^
| ;
xylophone.cpp:49:26: error: 'answer' was not declared in this scope
49 | for(int i = 1;i<=n;i++) answer(i,a[i]);
| ^~~~~~