| Problem | funnyballs |
|---|---|
| User | smartsword |
| Submission Time | 2025-12-01 16:22:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
funnyballs.cpp: In function ‘int main()’:
funnyballs.cpp:20:13: error: no match for ‘operator+=’ (operand types are ‘int’ and ‘std::vector<int>::iterator’ {aka ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’})
20 | ans += v.begin();
| ~~~~^~~~~~~~~~~~
funnyballs.cpp:22:11: error: ‘class std::vector<int>’ has no member named ‘pop_front’
22 | v.pop_front();
| ^~~~~~~~~