Problem trains
User justin271828
Submission Time 2023-06-19 13:47:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trains.cpp: In function ‘int calctotal(int, int*, int)’:
trains.cpp:16:9: error: ‘total’ was not declared in this scope
16 | return total;
| ^~~~~