Problem medianheap
User j0ashhh
Submission Time 2026-02-07 22:02:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianheap.cpp:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
1 | #inclue <bits/stdc++.h>
| ^~~~~~
| include
medianheap.cpp: In function ‘int main()’:
medianheap.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> n;
| ^~~
medianheap.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inclue <bits/stdc++.h>
medianheap.cpp:7:2: error: ‘priority_queue’ was not declared in this scope
7 | priority_queue<int> st;
| ^~~~~~~~~~~~~~
medianheap.cpp:1:1: note: ‘std::priority_queue’ is defined in header ‘<queue>’; did you forget to ‘#include <queue>’?
+++ |+#include <queue>
1 | #inclue <bits/stdc++.h>
medianheap.cpp:7:17: error: expected primary-expression before ‘int’
7 | priority_queue<int> st