Problem runway
User cheryltkx
Submission Time 2026-08-01 11:00:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

runway.cpp: In function ‘int main()’:
runway.cpp:21:56: error: two or more data types in declaration of ‘type name’
21 | priority_queue<pair<int,int>,vector<pair<int,int>>greater<pair<int,int>>>pq;
| ^~~~~~~~~~~~~~~~~~~~~~
runway.cpp:21:78: error: template argument 2 is invalid
21 | priority_queue<pair<int,int>,vector<pair<int,int>>greater<pair<int,int>>>pq;
| ^
runway.cpp:21:78: error: template argument 3 is invalid
runway.cpp:22:9: error: request for member ‘push9’ in ‘pq’, which is of non-class type ‘int’
22 | pq.push9{0,1});
| ^~~~~
runway.cpp:22:19: error: expected primary-expression before ‘)’ token
22 | pq.push9{0,1});
| ^
runway.cpp:23:16: error: request f