library.cpp: In function 'void Solve(int)':
library.cpp:14:19: error: invalid initialization of reference of type 'const std::vector<int>&' from expression of type 'std::vector<bool>'
14 | if (Query(v) == 1) {
| ^
In file included from library.cpp:1:
library.h:2:35: note: in passing argument 1 of 'int Query(const std::vector<int>&)'
2 | int Query(const std::vector<int>& M);
| ~~~~~~~~~~~~~~~~~~~~~~~~^
library.cpp:30:28: error: invalid initialization of reference of type 'const std::vector<int>&' from expression of type 'std::vector<bool>'
30 | int vl = Query(bl);
| ^~
In file included from library.cpp:1:
library.h:2:35: note: in passing argument 1 of 'int Query(const std::vector<int>&)'
2 | int Query(const std::vector<int>& M);
| ~~~~~~~~~~~~~~~~~~~~~~~~^
library.cpp:32:29: error: invalid initialization of reference of type 'const std::vector<int>&' from expression of type 'std::vector<bool>'
32 | int now = Query(bl);
| ^~
In file included from library.cpp:1:
library.h:2:35: note: in passing argument 1 of 'int Query(const std::vector<int>&)'
2 | int Query(const std::vector<int>& M);
| ~~~~~~~~~~~~~~~~~~~~~~~~^