Problem trains
User Pyrros
Submission Time 2023-02-09 13:17:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trains.cpp: In function ‘int main()’:
trains.cpp:11:21: error: ‘n’ was not declared in this scope
11 | for(int i = 0; i < n; i++)
| ^
trains.cpp:18:22: error: ‘n’ was not declared in this scope
18 | for(int i = 1; i <= n+1; i++)
| ^