Problem sort
User lucas
Submission Time 2026-03-02 22:45:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:6:9: error: expected ‘;’ before ‘n’
6 | int n;
| ^
sort.cpp:7:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> n;
| ^
| yn
sort.cpp:8:36: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Alloc> class std::vector’
8 | priority_queue <int, vector<int>, greater<int>> pq;
| ^
sort.cpp:8:36: note: expected a type, got ‘rintf128’
sort.cpp:8:36: error: template argument 2 is invalid
sort.cpp:3:13: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp> struct std::greater’
3 | #define int rintf128
| ^~~~~~~~
sort.cpp:8:47: note: in expansion of macro ‘int’
8 | priority_queue <int, vector<int>, grea