Problem sumint
User Reality1001
Submission Time 2024-02-06 07:52:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:9:12: error: invalid types ‘int[int]’ for array subscript
9 | cin << c[d];
| ^
sumint.cpp:10:18: error: expected ‘;’ before ‘)’ token
10 | for (a < d; a++){
| ^
| ;