0_0_39684325_6847.cpp:48:32: error: 'cmp' was not declared in this scope; did you mean 'mp'?
48 | priority_queue<fd, vector<fd>, cmp> pq;
| ^~~
| mp
0_0_39684325_6847.cpp:48:35: error: template argument 3 is invalid
48 | priority_queue<fd, vector<fd>, cmp> pq;
| ^
0_0_39684325_6847.cpp: In function 'void solve()':
0_0_39684325_6847.cpp:73:16: error: request for member 'push' in 'pq', which is of non-class type 'int'
73 | pq.push(a[ii]);
| ^~~~
0_0_39684325_6847.cpp:76:21: error: request for member 'size' in 'pq', which is of non-class type 'int'
76 | if(pp >= pq.size())
| ^~~~
0_0_39684325_6847.cpp:78:23: error: request for member 'empty' in 'pq', which is of non-class type 'int'
78 | while(!pq.empty())
| ^~~~~
0_0_39684325_6847.cpp:80:32: error: request for member 'top' in 'pq', which is of non-class type 'int'
80 | mp[cnt++] = pq.top().name;
| ^~~
0_0_39684325_6847.cpp:81:20: error: request for member 'pop' in 'pq', which is of non-class type 'int'
81 | pq.pop();
| ^~~
0_0_39684325_6847.cpp:87:28: error: request for member 'top' in 'pq', which is of non-class type 'int'
87 | mp[cnt++] = pq.top().name;
| ^~~
0_0_39684325_6847.cpp:88:16: error: request for member 'pop' in 'pq', which is of non-class type 'int'
88 | pq.pop();
| ^~~
0_0_39684325_6847.cpp:95:16: error: request for member 'push' in 'pq', which is of non-class type 'int'
95 | pq.push(a[i]);
| ^~~~
0_0_39684325_6847.cpp:98:15: error: request for member 'empty' in 'pq', which is of non-class type 'int'
98 | while(!pq.empty())
| ^~~~~
0_0_39684325_6847.cpp:100:24: error: request for member 'top' in 'pq', which is of non-class type 'int'
100 | mp[cnt++] = pq.top().name;
| ^~~
0_0_39684325_6847.cpp:101:12: error: request for member 'pop' in 'pq', which is of non-class type 'int'
101 | pq.pop();
| ^~~
|