answer.code: In function ‘void send_message(std::vector<bool>, std::vector<bool>)’:
answer.code:54:48: error: no matching function for call to ‘std::vector<bool>::vector(int, std::vector<bool>)’
54 | vector<bool> data(66,vector<bool>(31,0));
| ^
In file included from /usr/include/c++/11/vector:68,
from /usr/include/c++/11/queue:61,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from answer.code:1:
/usr/include/c++/11/bits/stl_bvector.h:714:9: note: candidate: ‘template<class _InputIterator, class> std::vector<bool, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _Alloc = std::allocator<bool>]’
714 | vector(_InputIterator __first, _InputIterator __last,
| ^~~~~~
/usr/include/c++/11/bits/stl_bvector.h:714:9: note: template argument deduction/substitution failed:
answer.code:54:48: note: deduced conflicting types for parameter ‘_InputIterator’ (‘int’ and ‘std::vector<bool>’)
54 | vector<bool> data(66,vector<bool>(31,0));
| ^
In file included from /usr/include/c++/11/vector:68,
from /usr/include/c++/11/queue:61,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from answer.code:1:
/usr/include/c++/11/bits/stl_bvector.h:702:7: note: candidate: ‘std::vector<bool, _Alloc>::vector(std::initializer_list<bool>, const allocator_type&) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::allocator_type = std::allocator<bool>]’
702 | vector(initializer_list<bool> __l,
| ^~~~~~
/usr/include/c++/11/bits/stl_bvector.h:702:37: note: no known conversion for argument 1 from ‘int’ to ‘std::initializer_list<bool>’
702 | vector(initializer_list<bool> __l,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_bvector.h:695:7: note: candidate: ‘std::vector<bool, _Alloc>::vector(const std::vector<bool, _Alloc>&, const allocator_type&) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::allocator_type = std::allocator<bool>]’
695 | vector(const vector& __x, const allocator_type& __a)
| ^~~~~~
/usr/include/c++/11/bits/stl_bvector.h:695:28: note: no known conversion for argument 1 from ‘int’ to ‘const std::vector<bool>&’
695 | vector(const vector& __x, const allocator_type& __a)
| ~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_bvector.h:689:7: note: candidate: ‘std::vector<bool, _Alloc>::vector(std::vector<bool, _Alloc>&&, const allocator_type&) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::allocator_type = std::allocator<bool>]’
689 | vector(vector&& __x, const allocator_type& __a)
| ^~~~~~
/usr/include/c++/11/bits/stl_bvector.h:689:23: note: no known conversion for argument 1 from ‘int’ to ‘std::vector<bool>&&’
689 | vector(vector&& __x, const allocator_type& __a)
| ~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_bvector.h:675:7: note: candidate: ‘std::vector<bool, _Alloc>::vector(std::vector<bool, _Alloc>&&, const allocator_type&, std::false_type) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::allocator_type = std::allocator<bool>; std::false_type = std::integral_constant<bool, false>]’
675 | vector(vector&& __x, const allocator_type& __a, false_type)
| ^~~~~~
/usr/include/c++/11/bits/stl_bvector.h:675:7: note: candidate expects 3 arguments, 2 provided
/usr/include/c++/11/bits/stl_bvector.h:671:7: note: candidate: ‘std::vector<bool, _Alloc>::vector(std::vector<bool, _Alloc>&&, const allocator_type&, std::true_type) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::allocator_type = std::allocator<bool>; std::true_type = std::integral_constant<bool, true>]’
671 | vector(vector&& __x, const allocator_type& __a, true_type) noexcept
| ^~~~~~
/usr/include/c++/11/bits/stl_bvector.h:671:7: note: candidate expects 3 arguments, 2 provided
/usr/include/c++/11/bits/stl_bvector.h:668:7: note: candidate: ‘std::vector<bool, _Alloc>::vector(std::vector<bool, _Alloc>&&) [with _Alloc = std::allocator<bool>]’
668 | vector(vector&&) = default;
| ^~~~~~
/usr/include/c++/11/bits/stl_bvector.h:668:7: note: candidate expects 1 argument, 2 provided
/usr/include/c++/11/bits/stl_bvector.h:660:7: note: candidate: ‘std::vector<bool, _Alloc>::vector(const std::vector<bool, _Alloc>&) [with _Alloc = std::allocator<bool>]’
660 | vector(const vector& __x)
| ^~~~~~
/usr/include/c++/11/bits/stl_bvector.h:660:7: note: candidate expects 1 argument, 2 provided
/usr/include/c++/11/bits/stl_bvector.h:647:7: note: candidate: ‘std::vector<bool, _Alloc>::vector(std::vector<bool, _Alloc>:...