Problem priorityqueue
User isntsword
Submission Time 2025-06-19 10:29:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

priorityqueue.cpp: In function ‘int main()’:
priorityqueue.cpp:11:6: error: expected primary-expression before ‘>’ token
11 | if( > P || > -P ){
| ^
priorityqueue.cpp:11:14: error: expected primary-expression before ‘>’ token
11 | if( > P || > -P ){
| ^
priorityqueue.cpp:18:14: error: ‘counter’ was not declared in this scope
18 | for (int N ; counter N == 0; counter--){
| ^~~~~~~
priorityqueue.cpp:18:21: error: expected ‘;’ before ‘N’
18 | for (int N ; counter N == 0; counter--){
| ^~
| ;
priorityqueue.cpp:18:28: error: expected ‘)’ before ‘;’ token
18 | for (int N ; counter N == 0; counter--){
| ~ ^
| )
priorityqueue.cpp:18:30: error: ‘counter’ was not declared in this scope
18 | for (int N ; counter N == 0; counter--){