Problem | cyberland_apio23 |
---|---|
User | asbx |
Submission Time | 2023-11-20 11:50:41 |
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:13: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
8 | adjList[i].first=x[M];
| ^~~~~
cyberland_apio23.cpp:9:2: error: ‘ajList’ was not declared in this scope; did you mean ‘adjList’?
9 | ajList[i].second=y[M];
| ^~~~~~
| adjList
cyberland_apio23.cpp:17:22: error: ‘source’ was not declared in this scope
17 | pq.push(make_pair(0, source)); dist[source] = 0;
| ^~~~~~