Problem cyberland_apio23
User asbx
Submission Time 2023-11-20 11:51:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cyberland_apio23.cpp: In function ‘double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)’:
cyberland_apio23.cpp:8:13: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
8 | adjList[i].first=x[M];
| ^~~~~
cyberland_apio23.cpp:9:13: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’
9 | adjList[i].second=y[M];
| ^~~~~~