Problem runway
User cheryltkx
Submission Time 2026-08-01 11:02:51
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:13: error: expected ‘;’ before ‘{’ token
22 | pq.push{0,1});
| ^
| ;
runway.cpp:22:9: error: statement cannot resolve address of overloaded function
22 | pq.push{0,1});
| ~~~^~~~
runway.cpp:22:18: error: expected primary-expression before ‘)’ token
22 | pq.push{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]){
| ^~~~
runway.cpp:36:23: error: ‘m’ was not declared in this scope
36 | cout<<"M= "<<