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

Compile Error

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