Problem trainorbus
User PerihelionfromAphelion
Submission Time 2026-04-25 20:04:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:16:8: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
16 | else cnt += b[i];
| ^~~
| int