Problem sumint
User Isaiah
Submission Time 2023-05-12 19:23:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:12:20: error: no match for ‘operator[]’ (operand types are ‘std::__cxx11::list<int>’ and ‘int’)
12 | num2 = num2 + emp[i];
| ^