Problem trainorbus
User Fr5ctal
Submission Time 2025-06-27 12:57:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:12:7: error: ‘i’ was not declared in this scope
12 | for (i=0; i < length; i++){
| ^
trainorbus.cpp:15:7: error: ‘i’ was not declared in this scope
15 | for (i=0; i < length; i++){
| ^
trainorbus.cpp:19:7: error: ‘i’ was not declared in this scope
19 | for (i=0; i < length; i++){
| ^