Problem | sumint |
---|---|
User | Rollsroyce26 |
Submission Time | 2024-06-20 09:50:26 |
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:12:20: error: ‘arr’ was not declared in this scope
12 | cout << x+=arr[i];
| ^~~