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

Compile Error

runway.cpp: In function ‘int main()’:
runway.cpp:97:20: error: expected primary-expression before ‘{’ token
97 | if (dist2[n] != {d2,d1}) continue;
| ^
runway.cpp:97:19: error: expected ‘)’ before ‘{’ token
97 | if (dist2[n] != {d2,d1}) continue;
| ~ ^~
| )
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: