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

Compile Error

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:35:52: error: expected ‘;’ before ‘if’
35 | cout<<"M= "<<m<<" "<<"dist"<<dist[N]<<'\n'
| ^
| ;
36 | if(dist[N]<K){
| ~~
runway.cpp:39:10: error: ‘else’ without a previous ‘if’
39 |