Problem trainorbus
User kruytz
Submission Time 2025-08-14 12:22:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:21:9: error: ‘t’ was not declared in this scope
21 | t += min(a[i], b[i]);
| ^
trainorbus.cpp:23:13: error: ‘t’ was not declared in this scope
23 | cout << t << "\n";
| ^