Problem car
User hwy
Submission Time 2023-08-27 16:49:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

car.cpp: In function ‘int main()’:
car.cpp:38:36: error: ‘cur’ was not declared in this scope; did you mean ‘curr’?
38 | pair<int, int> x = adj[cur.second][i];
| ^~~
| curr
car.cpp:42:19: error: ‘nx’ was not declared in this scope; did you mean ‘x’?
42 | m[nx.second] = val;
| ^~
| x