Problem party_noi
User P0lterg3ist
Submission Time 2024-02-26 16:33:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party_noi.cpp: In function ‘int main()’:
party_noi.cpp:9:5: error: ‘priority’ was not declared in this scope
9 | priority-queue <int> happy;
| ^~~~~~~~
party_noi.cpp:9:26: error: expected primary-expression before ‘happy’
9 | priority-queue <int> happy;
| ^~~~~
party_noi.cpp:12:9: error: ‘happy’ was not declared in this scope
12 | happy.push_back(cin);
| ^~~~~
party_noi.cpp:15:21: error: ‘happy’ was not declared in this scope
15 | maxHappy += happy.front();
| ^~~~~