0_0_39684245_18249.cpp:9:16: error: 'fd' was not declared in this scope; did you mean 'fr'?
9 | priority_queue<fd, vector<fd>, cmp> pq;
| ^~
| fr
0_0_39684245_18249.cpp:9:27: error: 'fd' was not declared in this scope; did you mean 'fr'?
9 | priority_queue<fd, vector<fd>, cmp> pq;
| ^~
| fr
0_0_39684245_18249.cpp:9:29: error: template argument 1 is invalid
9 | priority_queue<fd, vector<fd>, cmp> pq;
| ^
0_0_39684245_18249.cpp:9:29: error: template argument 2 is invalid
0_0_39684245_18249.cpp:9:32: error: 'cmp' was not declared in this scope
9 | priority_queue<fd, vector<fd>, cmp> pq;
| ^~~
0_0_39684245_18249.cpp:9:35: error: template argument 1 is invalid
9 | priority_queue<fd, vector<fd>, cmp> pq;
| ^
0_0_39684245_18249.cpp:9:35: error: template argument 2 is invalid
0_0_39684245_18249.cpp:9:35: error: template argument 3 is invalid
0_0_39684245_18249.cpp: In function 'void solve()':
0_0_39684245_18249.cpp:65:16: error: request for member 'push' in 'pq', which is of non-class type 'int'
65 | pq.push(a[ii]);
| ^~~~
0_0_39684245_18249.cpp:68:21: error: request for member 'size' in 'pq', which is of non-class type 'int'
68 | if(pp >= pq.size())
| ^~~~
0_0_39684245_18249.cpp:70:22: error: request for member 'size' in 'pq', which is of non-class type 'int'
70 | while(pq.size())
| ^~~~
0_0_39684245_18249.cpp:72:32: error: request for member 'top' in 'pq', which is of non-class type 'int'
72 | mp[cnt++] = pq.top().name;
| ^~~
0_0_39684245_18249.cpp:73:20: error: request for member 'pop' in 'pq', which is of non-class type 'int'
73 | pq.pop();
| ^~~
0_0_39684245_18249.cpp:79:28: error: request for member 'top' in 'pq', which is of non-class type 'int'
79 | mp[cnt++] = pq.top().name;
| ^~~
0_0_39684245_18249.cpp:80:16: error: request for member 'pop' in 'pq', which is of non-class type 'int'
80 | pq.pop();
| ^~~
0_0_39684245_18249.cpp:87:16: error: request for member 'push' in 'pq', which is of non-class type 'int'
87 | pq.push(a[i]);
| ^~~~
0_0_39684245_18249.cpp:90:14: error: request for member 'size' in 'pq', which is of non-class type 'int'
90 | while(pq.size())
| ^~~~
0_0_39684245_18249.cpp:92:24: error: request for member 'top' in 'pq', which is of non-class type 'int'
92 | mp[cnt++] = pq.top().name;
| ^~~
0_0_39684245_18249.cpp:93:12: error: request for member 'pop' in 'pq', which is of non-class type 'int'
93 | pq.pop();
| ^~~
|