Problem sumint
User Evoi
Submission Time 2023-01-10 20:03:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:12:15: error: ‘myNumbers’ was not declared in this scope
12 | for (int i : myNumbers) {
| ^~~~~~~~~
sumint.cpp:13:11: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
13 | c = c + b;
| ~~^~~
| |
| int*