xylophone.cpp:7:5: error: 'pair' was not declared in this scope
7 | map<pair<int, int>, int> mp;
| ^~~~
xylophone.cpp:7:5: error: 'pair' was not declared in this scope
xylophone.cpp:7:5: error: 'pair' was not declared in this scope
xylophone.cpp:7:5: error: 'pair' was not declared in this scope
xylophone.cpp:7:5: error: 'pair' was not declared in this scope
xylophone.cpp:7:5: error: 'pair' was not declared in this scope
xylophone.cpp:7:5: error: 'pair' was not declared in this scope
xylophone.cpp:7:5: error: 'pair' was not declared in this scope
xylophone.cpp:7:5: error: 'pair' was not declared in this scope
xylophone.cpp:7:1: error: 'map' does not name a type
7 | map<pair<int, int>, int> mp;
| ^~~
xylophone.cpp: In function 'void solve(int)':
xylophone.cpp:14:41: error: 'mp' was not declared in this scope
14 | for(int i = 1; i <= n - 1; i++) mp[{i, i + 1}] = query(i, i+1);
| ^~
xylophone.cpp:15:41: error: 'mp' was not declared in this scope
15 | for(int i = 1; i <= n - 2; i++) mp[{i, i + 2}] = query(i, i+2);
| ^~
xylophone.cpp:19:34: error: 'mp' was not declared in this scope
19 | konf1[1] = 0; konf1[2] = mp[{1, 2}];
| ^~
xylophone.cpp:25:18: error: 'INF' was not declared in this scope
25 | int mn = INF, idx_mn = 0;
| ^~~
xylophone.cpp:30:25: error: 'idx_mn' was not declared in this scope
30 | idx_mn = i;
| ^~~~~~
xylophone.cpp:35:25: error: 'idx_mx' was not declared in this scope
35 | idx_mx = i;
| ^~~~~~
xylophone.cpp:39:21: error: 'idx_mx' was not declared in this scope
39 | if(idx_mn < idx_mx){
| ^~~~~~
xylophone.cpp:39:12: error: 'idx_mn' was not declared in this scope
39 | if(idx_mn < idx_mx){
| ^~~~~~
xylophone.cpp:54:19: error: 'idx_mn' was not declared in this scope
54 | mn = INF, idx_mn = 0;
| ^~~~~~
xylophone.cpp:55:21: error: 'idx_mx' was not declared in this scope
55 | mx = -INF, idx_mx = 0;
| ^~~~~~