Problem medianheap
User Sheryanne
Submission Time 2024-10-16 16:32:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianheap.cpp:43:30: error: empty character constant
43 | for (|| u:result) print(u, '');
| ^~
medianheap.cpp: In function ‘int main()’:
medianheap.cpp:7:2: error: expected primary-expression before ‘||’ token
7 | || med;
| ^~
medianheap.cpp:7:5: error: ‘med’ was not declared in this scope
7 | || med;
| ^~~
medianheap.cpp:8:2: error: ‘piority_queue’ was not declared in this scope
8 | piority_queue<||> lower;
| ^~~~~~~~~~~~~
medianheap.cpp:8:16: error: expected primary-expression before ‘||’ token
8 | piority_queue<||> lower;
| ^~
medianheap.cpp:8:18: error: expected primary-expression before ‘>’ token
8 | piority_queue<||> lower;
| ^
medianheap.cpp:8:20: error: ‘lower’ was not declared in this scope; did you mean ‘tolower’?
8 | piority_queue<||> lower;
|