cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:60:12: error: conversion from 'bool' to non-scalar type 'std::vector<bool>' requested
60 | vb res=false;
| ^~~~~
cyberland.cpp: In lambda function:
cyberland.cpp:63:17: error: no match for 'operator=' (operand types are 'std::vector<bool>' and 'bool')
63 | res=true;
| ^~~~
In file included from /usr/include/c++/11/vector:68,
from /usr/include/c++/11/functional:62,
from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from cyberland.cpp:1:
/usr/include/c++/11/bits/stl_bvector.h:736:7: note: candidate: 'std::vector<bool, _Alloc>& std::vector<bool, _Alloc>::operator=(const std::vector<bool, _Alloc>&) [with _Alloc = std::allocator<bool>]'
736 | operator=(const vector& __x)
| ^~~~~~~~
/usr/include/c++/11/bits/stl_bvector.h:736:31: note: no known conversion for argument 1 from 'bool' to 'const std::vector<bool>&'
736 | operator=(const vector& __x)
| ~~~~~~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_bvector.h:767:7: note: candidate: 'std::vector<bool, _Alloc>& std::vector<bool, _Alloc>::operator=(std::vector<bool, _Alloc>&&) [with _Alloc = std::allocator<bool>]'
767 | operator=(vector&& __x) noexcept(_Bit_alloc_traits::_S_nothrow_move())
| ^~~~~~~~
/usr/include/c++/11/bits/stl_bvector.h:767:26: note: no known conversion for argument 1 from 'bool' to 'std::vector<bool>&&'
767 | operator=(vector&& __x) noexcept(_Bit_alloc_traits::_S_nothrow_move())
| ~~~~~~~~~^~~
/usr/include/c++/11/bits/stl_bvector.h:792:7: note: candidate: 'std::vector<bool, _Alloc>& std::vector<bool, _Alloc>::operator=(std::initializer_list<bool>) [with _Alloc = std::allocator<bool>]'
792 | operator=(initializer_list<bool> __l)
| ^~~~~~~~
/usr/include/c++/11/bits/stl_bvector.h:792:40: note: no known conversion for argument 1 from 'bool' to 'std::initializer_list<bool>'
792 | operator=(initializer_list<bool> __l)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~
cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:73:9: error: no match for 'operator!' (operand type is 'std::vector<bool>')
73 | if (!res)return -1;
| ^~~~
cyberland.cpp:73:9: note: candidate: 'operator!(bool)' (built-in)
cyberland.cpp:73:9: note: no known conversion for argument 1 from 'std::vector<bool>' to 'bool'