skyscraper.cpp: In function 'int main()':
skyscraper.cpp:52:31: error: 'cmp' was not declared in this scope; did you mean 'bcmp'?
52 | priority_queue<Q, vector<Q>, cmp> pq;
| ^~~
| bcmp
skyscraper.cpp:52:34: error: template argument 3 is invalid
52 | priority_queue<Q, vector<Q>, cmp> pq;
| ^
skyscraper.cpp:53:5: error: request for member 'push' in 'pq', which is of non-class type 'int'
53 | pq.push({ s, 0 });
| ^~~~
skyscraper.cpp:54:13: error: request for member 'empty' in 'pq', which is of non-class type 'int'
54 | while (!pq.empty()) {
| ^~~~~
skyscraper.cpp:55:14: error: request for member 'top' in 'pq', which is of non-class type 'int'
55 | Q top = pq.top(); pq.pop();
| ^~~
skyscraper.cpp:55:24: error: request for member 'pop' in 'pq', which is of non-class type 'int'
55 | Q top = pq.top(); pq.pop();
| ^~~
skyscraper.cpp:65:8: error: request for member 'push' in 'pq', which is of non-class type 'int'
65 | pq.push({ w.to, dst[w.to] });
| ^~~~