Problem sightseeing
User justin271828
Submission Time 2024-10-04 20:02:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sightseeing.cpp: In function ‘int main()’:
sightseeing.cpp:27:4: error: ‘p’ was not declared in this scope; did you mean ‘pq’?
27 | p.first = arr[temp.first];
| ^
| pq
sightseeing.cpp:36:5: error: ‘p’ was not declared in this scope; did you mean ‘pq’?
36 | p.first = arr[temp.first];
| ^
| pq