Problem potatosalad
User sussyimpasta
Submission Time 2025-04-17 00:28:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:19:15: error: no match for ‘operator+=’ (operand types are ‘int’ and ‘std::vector<int>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’})
19 | S += v.end();
| ~~^~~~~~~~~~