Problem railway
User benji9736
Submission Time 2025-12-17 14:51:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

railway.cpp: In function ‘int main()’:
railway.cpp:65:9: error: ‘dist’ was not declared in this scope
65 | cout<<dist[x] + dist[y] - 2 * dist[i]<<endl;
| ^~~~
railway.cpp:65:38: error: ‘i’ was not declared in this scope
65 | cout<<dist[x] + dist[y] - 2 * dist[i]<<endl;
| ^