Problem sort
User vadar2525
Submission Time 2026-01-14 14:58:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:10:2: error: ‘priorityqueue’ was not declared in this scope
10 | priorityqueue <int> a;
| ^~~~~~~~~~~~~
sort.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
sort.cpp:10:17: note: in expansion of macro ‘int’
10 | priorityqueue <int> a;
| ^~~
sort.cpp:14:3: error: ‘a’ was not declared in this scope
14 | a.push(x);
| ^
sort.cpp:17:11: error: ‘a’ was not declared in this scope
17 | cout << a[i] << " ";
| ^