Problem runway
User cheryltkx
Submission Time 2026-08-01 10:57:12
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:12:10: error: expected unqualified-id before ‘[’ token
12 | adj[v].[ush_back({u,w});
| ^
runway.cpp:12:11: error: ‘ush_back’ was not declared in this scope
12 | adj[v].[ush_back({u,w});
| ^~~~~~~~
runway.cpp:12:26: error: expected ‘]’ before ‘;’ token
12 | adj[v].[ush_back({u,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<pa