Problem | trainorbus |
---|---|
User | Red123 |
Submission Time | 2025-03-13 22:44:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:19:17: error: ‘i’ was not declared in this scope
19 | int p = max(t[i], g[j]);
| ^
trainorbus.cpp:19:23: error: ‘j’ was not declared in this scope
19 | int p = max(t[i], g[j]);
| ^
trainorbus.cpp:21:9: error: expected initializer before ‘+=’ token
21 | int z += p;
| ^~
trainorbus.cpp:23:10: error: ‘z’ was not declared in this scope
23 | cout << z;
| ^