Problem medianheap
User jmuzhen
Submission Time 2024-06-29 16:09:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianheap.cpp: In function ‘int main()’:
medianheap.cpp:37:10: error: invalid declarator before ‘=’ token
37 | int L = left.top(), R = right.top();
| ^
medianheap.cpp:38:14: error: expected primary-expression before ‘)’ token
38 | if (x <= L) left.push(x);
| ^