Problem trains
User Water
Submission Time 2024-02-19 19:10:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trains.cpp: In function ‘int main()’:
trains.cpp:20:10: error: ‘dis’ was not declared in this scope; did you mean ‘dist’?
20 | cout << dis;
| ^~~
| dist