Problem rabbiteatrabbit
User hwy
Submission Time 2023-06-18 18:32:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rabbiteatrabbit.cpp:6:1: error: expected ‘,’ or ‘;’ before ‘vector’
6 | vector<ll> A;
| ^~~~~~
rabbiteatrabbit.cpp: In function ‘ll func(ll, std::vector<long long int>, ll)’:
rabbiteatrabbit.cpp:13:2: error: reference to ‘copy’ is ambiguous
13 | copy = A1;
| ^~~~
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from rabbiteatrabbit.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:410:5: note: candidates are: ‘template<class _Tp> std::_Deque_iterator<_Tp, _Tp&, _Tp*> std::copy(std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>, std::_Deque_iterator<_Tp, _Tp&, _Tp*>)’
410 | copy(_Deque_iterator<_Tp, _Tp&, _Tp*> __first,
| ^~~~
In file included from /usr/include/c++/9/deque:69,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68