Azer.cpp: In function 'void InitA(long long int, long long int, std::vector<long long int>, std::vector<long long int>, std::vector<long long int>)':
Azer.cpp:63:5: error: reference to 'prev' is ambiguous
63 | prev=0;
| ^~~~
Azer.cpp:9:31: note: candidates are: 'long long int {anonymous}::prev'
9 | int cur=0,bit=0,n=0,cnt=0,prev=0,first=0;
| ^~~~
In file included from /usr/include/c++/10/bits/stl_algobase.h:66,
from /usr/include/c++/10/vector:60,
from Azer.h:6,
from Azer.cpp:1:
/usr/include/c++/10/bits/stl_iterator_base_funcs.h:224:5: note: 'template<class _BidirectionalIterator> constexpr _BidirectionalIterator std::prev(_BidirectionalIterator, typename std::iterator_traits<_Iter>::difference_type)'
224 | prev(_BidirectionalIterator __x, typename
| ^~~~
Azer.cpp: At global scope:
Azer.cpp:88:18: error: ambiguating new declaration of 'std::vector<long long int> Answer()'
88 | std::vector<int> Answer() {
| ^~~~~~
In file included from Azer.cpp:1:
Azer.h:11:18: note: old declaration 'std::vector<int> Answer()'
11 | std::vector<int> Answer();
| ^~~~~~
/usr/bin/ld: /tmp/ccA1bmaQ.o: in function `main':
grader_baijan.cpp:(.text.startup+0x174): undefined reference to `InitB(int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
/usr/bin/ld: grader_baijan.cpp:(.text.startup+0x202): undefined reference to `ReceiveB(bool)'
collect2: error: ld returned 1 exit status