Problem | sumint |
---|---|
User | sporknives |
Submission Time | 2024-05-16 18:22:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:12:7: error: no match for ‘operator+=’ (operand types are ‘long int’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
12 | sum += curr_int
| ~~~~^~~~~~~~~~~