Problem sumint
User Anonymous35V
Submission Time 2023-11-08 15:35:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int32_t main()’:
sumint.cpp:6:5: error: expected initializer before ‘int’
6 | int n;
| ^~~
sumint.cpp:7:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | cin >> n;
| ^
| yn
sumint.cpp:9:14: error: ‘arr’ was not declared in this scope
9 | cin>>arr[i];
| ^~~