Problem | GSS |
---|---|
User | potatoed78 |
Submission Time | 2025-06-18 16:00:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int main()’:
GSS.cpp:2:5: error: ‘ios_base’ has not been declared
2 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
GSS.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin.tie(0);
| ^~~
GSS.cpp:6:5: error: ‘priority_queue’ was not declared in this scope
6 | priority_queue <long long> pq;
| ^~~~~~~~~~~~~~
GSS.cpp:6:21: error: expected primary-expression before ‘long’
6 | priority_queue <long long> pq;
| ^~~~
GSS.cpp:11:9: error: ‘pq’ was not declared in this scope
11 | pq.push(temp);
| ^~
GSS.cpp:18:13: error: ‘pq’ was not declared in this scope
18 | pq.pop();
| ^~
GSS.cpp:22:18: error: ‘pq’ was not declared in this scope
22 | total += pq.top();
| ^~
GSS.cpp:26:5: error: ‘cout’ was not declared in this scope