Problem calc
User Teeskit
Submission Time 2025-08-28 16:03:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

calc.cpp: In function ‘int main()’:
calc.cpp:23:9: error: no match for ‘operator+=’ (operand types are ‘int’ and ‘std::vector<int>’)
23 | total += s[i];
| ~~~~~~^~~~~~~