Problem | cyberland_apio23 |
---|---|
User | asbx |
Submission Time | 2023-11-20 11:54:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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];
| ^~~~~~
cyberland_apio23.cpp:14:10: error: ‘e’ was not declared in this scope
14 | dist[i]=e[i];
| ^