Problem trainorbus
User VehaanGVikram
Submission Time 2025-03-02 22:29:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:20:12: error: expected unqualified-id before ‘=’ token
20 | int short = 0;
| ^
trainorbus.cpp:25:9: error: expected unqualified-id before ‘+=’ token
25 | short+=b[i];
| ^~
trainorbus.cpp:29:9: error: expected unqualified-id before ‘+=’ token
29 | short+=a[i];
| ^~
trainorbus.cpp:31:9: error: expected primary-expression before ‘short’
31 | cout<<short;
| ^~~~~