| Problem | funnyballs |
|---|---|
| User | dooweidde |
| Submission Time | 2025-12-01 14:33:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
funnyballs.cpp: In function ‘int main()’:
funnyballs.cpp:25:79: error: no matching function for call to ‘std::deque<long long int>::push_back(__gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >)’
25 | list_of_shit.push_back(find(c.begin(), c.end(), balls[balls.size() - 1 - i]));
| ^
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from funnyballs.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1569:7: note: candidate: ‘void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::value_type = long long int]’
1569 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_deque.h:1569:35: note: no kno