Problem deathray
User blob
Submission Time 2023-11-22 13:53:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

deathray.cpp: In function ‘int main()’:
deathray.cpp:19:37: error: request for member ‘first’ in ‘pq.std::priority_queue<int>::top()’, which is of non-class type ‘const value_type’ {aka ‘const int’}
19 | while (!pq.empty() and pq.top().first < val) {
| ^~~~~