Problem cyberland_apio23
User asbx
Submission Time 2023-11-20 11:55:00
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:12: error: request for member ‘first’ in ‘i’, which is of non-class type ‘int’
8 | adjList[i.first]=x[M];
| ^~~~~
cyberland_apio23.cpp:9:12: error: request for member ‘second’ in ‘i’, which is of non-class type ‘int’
9 | adjList[i.second]=y[M];
| ^~~~~~