Problem runway
User back2square1
Submission Time 2023-12-01 18:53:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

runway.cpp: In function ‘int main()’:
runway.cpp:105:47: error: expected ‘}’ before ‘i’
105 | pq.push({dist2[i].first, dist2[i].second i});
| ~ ^
runway.cpp:105:46: error: expected ‘)’ before ‘i’
105 | pq.push({dist2[i].first, dist2[i].second i});
| ~ ^~
| )
runway.cpp:105:49: error: expected primary-expression before ‘)’ token
105 | pq.push({dist2[i].first, dist2[i].second i});
| ^
runway.cpp: At global scope:
runway.cpp:119:2: error: expected unqualified-id before ‘return’
119 | return 0;
| ^~~~~~
runway.cpp:120:1: error: expected declaration before ‘}’ token
120 | }
| ^