Problem | sumint |
---|---|
User | Rollsroyce26 |
Submission Time | 2024-06-20 09:47:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:5:13: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int arr[n];
| ^
| yn
sumint.cpp:7:16: error: ‘arr’ was not declared in this scope
7 | cin >> arr[i];
| ^~~
sumint.cpp:13:12: error: ‘arr’ was not declared in this scope
13 | x+=arr[i]
| ^~~