library.cpp: In function 'void Solve(long long int)':
library.cpp:41:28: error: invalid initialization of reference of type 'const std::vector<int>&' from expression of type 'std::vector<long long int>'
41 | int c1 = Query(ch);
| ^~
In file included from library.cpp:3:
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:43:28: error: invalid initialization of reference of type 'const std::vector<int>&' from expression of type 'std::vector<long long int>'
43 | int c2 = Query(ch);
| ^~
In file included from library.cpp:3:
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:47:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | if (l==m.size())
| ~^~~~~~~~~~
library.cpp:62:25: warning: comparison of integer expressions of different signedness: 'std::vector<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
62 | if (g[i].size() <= mn)
| ~~~~~~~~~~~~^~~~~
library.cpp:69:12: error: invalid initialization of reference of type 'const std::vector<int>&' from expression of type 'std::vector<long long int>'
69 | Answer(ans);
| ^~~
In file included from library.cpp:3:
library.h:3:37: note: in passing argument 1 of 'void Answer(const std::vector<int>&)'
3 | void Answer(const std::vector<int>& res);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~