politicaldevelopment.cpp: In member function 'int graph::solve()':
politicaldevelopment.cpp:84:48: error: no matching function for call to 'std::vector<std::bitset<1024> >::resize(int&, std::vector<bool>)'
84 | fq.adjmat.resize(n, vector<bool>(n));
| ^
In file included from /usr/include/c++/9/vector:67,
from politicaldevelopment.cpp:2:
/usr/include/c++/9/bits/stl_vector.h:934:7: note: candidate: 'void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::bitset<1024>; _Alloc = std::allocator<std::bitset<1024> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int]'
934 | resize(size_type __new_size)
| ^~~~~~
/usr/include/c++/9/bits/stl_vector.h:934:7: note: candidate expects 1 argument, 2 provided
/usr/include/c++/9/bits/stl_vector.h:954:7: note: candidate: 'void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = std::bitset<1024>; _Alloc = std::allocator<std::bitset<1024> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::bitset<1024>]'
954 | resize(size_type __new_size, const value_type& __x)
| ^~~~~~
/usr/include/c++/9/bits/stl_vector.h:954:54: note: no known conversion for argument 2 from 'std::vector<bool>' to 'const value_type&' {aka 'const std::bitset<1024>&'}
954 | resize(size_type __new_size, const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~