Problem runway
User cheryltkx
Submission Time 2026-08-01 10:59:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

runway.cpp: In function ‘int main()’:
runway.cpp:10:14: error: ‘W’ was not declared in this scope
10 | cin>>u>>v>>W;
| ^
runway.cpp:21:55: 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:77: error: template argument 1 is invalid
21 | priority_queue<pair<int,int>,vector<pair<int,int>greater<pair<int,int>>>pq;
| ^
runway.cpp:21:77: error: template argument 2 is invalid
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;
|