werewolf.cpp: In function 'std::vector<int> check_validity(int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
werewolf.cpp:70:22: error: no match for 'operator=' (operand types are '__gnu_cxx::__alloc_traits<std::allocator<std::deque<int> >, std::deque<int> >::value_type' {aka 'std::deque<int>'} and 'int')
70 | comps[i]=i;
| ^
In file included from /usr/include/c++/10/deque:69,
from /usr/include/c++/10/queue:60,
from werewolf.cpp:2:
/usr/include/c++/10/bits/deque.tcc:95:5: note: candidate: 'std::deque<_Tp, _Alloc>& std::deque<_Tp, _Alloc>::operator=(const std::deque<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]'
95 | deque<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/deque.tcc:96:28: note: no known conversion for argument 1 from 'int' to 'const std::deque<int>&'
96 | operator=(const deque& __x)
| ~~~~~~~~~~~~~^~~
In file included from /usr/include/c++/10/deque:67,
from /usr/include/c++/10/queue:60,
from werewolf.cpp:2:
/usr/include/c++/10/bits/stl_deque.h:1028:7: note: candidate: 'std::deque<_Tp, _Alloc>& std::deque<_Tp, _Alloc>::operator=(std::deque<_Tp, _Alloc>&&) [with _Tp = int; _Alloc = std::allocator<int>]'
1028 | operator=(deque&& __x) noexcept(_Alloc_traits::_S_always_equal())
| ^~~~~~~~
/usr/include/c++/10/bits/stl_deque.h:1028:25: note: no known conversion for argument 1 from 'int' to 'std::deque<int>&&'
1028 | operator=(deque&& __x) noexcept(_Alloc_traits::_S_always_equal())
| ~~~~~~~~^~~
/usr/include/c++/10/bits/stl_deque.h:1047:7: note: candidate: 'std::deque<_Tp, _Alloc>& std::deque<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = int; _Alloc = std::allocator<int>]'
1047 | operator=(initializer_list<value_type> __l)
| ^~~~~~~~
/usr/include/c++/10/bits/stl_deque.h:1047:46: note: no known conversion for argument 1 from 'int' to 'std::initializer_list<int>'
1047 | operator=(initializer_list<value_type> __l)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~