Problem | trainorbus |
---|---|
User | Elwinthenerd |
Submission Time | 2025-04-19 11:55:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:12:12: error: ‘i’ was not declared in this scope
12 | cin >> b[i+1];
| ^
trainorbus.cpp:16:14: error: ‘i’ was not declared in this scope
16 | x += max(a[i+1],b[i+1]);
| ^