Problem | medianheap |
---|---|
User | aj |
Submission Time | 2025-02-11 09:14:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
medianheap.cpp: In function ‘int main()’:
medianheap.cpp:43:28: error: expected primary-expression at end of input
43 | if (total_size ==
| ^~
medianheap.cpp:43:30: error: expected ‘)’ at end of input
43 | if (total_size ==
| ~ ~~^
| )
medianheap.cpp:43:28: error: expected statement at end of input
43 | if (total_size ==
| ^~
medianheap.cpp:43:28: error: expected ‘}’ at end of input
medianheap.cpp:40:42: note: to match this ‘{’
40 | } else if (instruction == "POP") {
| ^
medianheap.cpp:43:28: error: expected ‘}’ at end of input
43 | if (total_size ==
| ^~
medianheap.cpp:17:48: note: to match this ‘{’
17 | for (int i = 0; i < num_instructions;