Problem sumint
User potassium
Submission Time 2026-10-06 17:21:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp:5:11: error: array bound is not an integer constant before ‘]’ token
5 | int d, m[d];
| ^
sumint.cpp: In function ‘int main()’:
sumint.cpp:11:15: error: ‘m’ was not declared in this scope
11 | t += cin >> m[i];
| ^