Problem sumint
User justin271828
Submission Time 2024-05-11 15:35:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:7:10: error: ‘i’ was not declared in this scope
7 | int arr[i];
| ^
sumint.cpp:10:10: error: ‘arr’ was not declared in this scope
10 | cin >> arr[i];
| ^~~