Problem trains
User justin271828
Submission Time 2023-06-19 12:11:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trains.cpp: In function ‘int main()’:
trains.cpp:16:19: error: expected ‘;’ before ‘<’ token
16 | for (int i = 1, i < N+2; i++) {
| ^~
| ;
trains.cpp:16:20: error: expected primary-expression before ‘<’ token
16 | for (int i = 1, i < N+2; i++) {
| ^