Xoractive.cpp: In function 'std::vector<int> guess(int)':
Xoractive.cpp:38:41: error: no matching function for call to 'std::vector<int>::erase(std::vector<int>::iterator, std::vector<int>::iterator, int&)'
38 | for(int x: r) ss[j].erase(AI(ss[j]), x);
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from Xoractive.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:1427:7: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<int*, std::vector<int> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = int*; std::vector<_Tp, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const int*, std::vector<int> >; typename __gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const int*]'
1427 | erase(const_iterator __position)
| ^~~~~
/usr/include/c++/9/bits/stl_vector.h:1427:7: note: candidate expects 1 argument, 3 provided
/usr/include/c++/9/bits/stl_vector.h:1454:7: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(std::vector<_Tp, _Alloc>::const_iterator, std::vector<_Tp, _Alloc>::const_iterator) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<int*, std::vector<int> >; typename std::_Vector_base<_Tp, _Alloc>::pointer = int*; std::vector<_Tp, _Alloc>::const_iterator = __gnu_cxx::__normal_iterator<const int*, std::vector<int> >; typename __gnu_cxx::__alloc_traits<typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type>::const_pointer = const int*]'
1454 | erase(const_iterator __first, const_iterator __last)
| ^~~~~
/usr/include/c++/9/bits/stl_vector.h:1454:7: note: candidate expects 2 arguments, 3 provided
Xoractive.cpp:49:11: error: 'class std::vector<int>' has no member named 'find'
49 | if(v.find(AI(v), x) != v.end())
| ^~~~
Xoractive.cpp:57:17: error: 'class std::vector<int>' has no member named 'find'
57 | auto it = v.find(AI(v), x);
| ^~~~