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

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
runway.cpp: In function ‘int main()’:
runway.cpp:22:9: error: ‘class std::priority_queue<std::pair<long long int, long long int>, std::vector<std::pair<long long int, long long int> >, std::greater<std::pair<long long int, long long int> > >’ has no member named ‘push9’; did you mean ‘push’?
22 | pq.push9{0,1});
| ^~~~~
| push
runway.cpp:22:19: error: expected primary-expression before ‘)’ token
22 | pq.push9{0,1});
| ^
runway.cpp:24:13: error: ‘pq’ was not declared in this scope
24 | while(!pq.empty()){
| ^~
runway.cpp:28:10: error: ‘dist’ was not declared in this scope
28 | if(dist[u]!=d)continue;
| ^~~~
runway.cpp:30:18: error: ‘dist’ was not declared in this scope
30 | if(d+w<dist[v]){
| ^~~~
runw