Problem | scalars |
---|---|
User | Hengweezy |
Submission Time | 2025-01-18 14:04:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
scalars.cpp: In function ‘int main()’:
scalars.cpp:6:77: error: expected unqualified-id before ‘>’ token
6 | priority_queue<long long , std::vector<long long>, std::greater<long long>>> pqn1;
| ^
scalars.cpp:22:4: error: ‘pqn1’ was not declared in this scope; did you mean ‘pqn2’?
22 | pqn1.push(value);
| ^~~~
| pqn2
scalars.cpp:39:27: error: void value not ignored as it ought to be
39 | long long v1 = pqp1.pop();
| ~~~~~~~~^~
scalars.cpp:40:27: error: void value not ignored as it ought to be
40 | long long v2 = pqn2.pop();
| ~~~~~~~~^~
scalars.cpp:46:10: error: ‘pqn1’ was not declared in this scope; did you mean ‘pqn2’?
46 | while(!pqn1.empty()){
| ^~~~
| pqn2
scalars.cpp:49:28: error: void value not ignore