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

Compile Error

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