Problem truck
User Xiaoyang
Submission Time 2023-02-11 20:27:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

truck.cpp: In function ‘void dfs(long long int, long long int)’:
truck.cpp:19:3: error: ‘dist’ was not declared in this scope; did you mean ‘dista’?
19 | dist[i.first]=dist[x]+i.second;
| ^~~~
| dista