teoreticar.cpp: In function 'void dfs(int, std::vector<std::vector<int> >&, std::vector<std::pair<int, int> >&, std::vector<std::pair<int, int> >&, std::vector<bool>&, std::vector<bool>&)':
teoreticar.cpp:13:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int i=0;i<b[g].size();i++)
| ~^~~~~~~~~~~~
teoreticar.cpp: In function 'void q(std::vector<std::pair<int, int> >&, std::vector<int>&, std::vector<bool>&, std::vector<bool>&)':
teoreticar.cpp:47:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int i=0;i<a.size();i++)
| ~^~~~~~~~~
teoreticar.cpp:52:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int i=1;i<b.size();i++)
| ~^~~~~~~~~
teoreticar.cpp:56:13: error: 'p' was not declared in this scope
56 | p=false;
| ^
teoreticar.cpp:61:8: error: 'p' was not declared in this scope
61 | if(p)
| ^
teoreticar.cpp:63:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | for(int i=0;i<a.size();i++)
| ~^~~~~~~~~
teoreticar.cpp:71:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(int i=1;i<b.size();i++)
| ~^~~~~~~~~
teoreticar.cpp:80:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for(int i=0;i<a.size();i++)
| ~^~~~~~~~~
teoreticar.cpp:92:9: error: invalid initialization of reference of type 'std::vector<int>&' from expression of type 'std::vector<bool>'
92 | q(j,czy,czy2);
| ^~~
teoreticar.cpp:43:44: note: in passing argument 2 of 'void q(std::vector<std::pair<int, int> >&, std::vector<int>&, std::vector<bool>&, std::vector<bool>&)'
43 | void q(vector<pair<int,int>>&a,vector<int>&wynik,vector<bool>&czy,vector<bool>&czy2)
| ~~~~~~~~~~~~^~~~~
teoreticar.cpp:93:9: error: invalid initialization of reference of type 'std::vector<int>&' from expression of type 'std::vector<bool>'
93 | q(d,czy,czy2);
| ^~~
teoreticar.cpp:43:44: note: in passing argument 2 of 'void q(std::vector<std::pair<int, int> >&, std::vector<int>&, std::vector<bool>&, std::vector<bool>&)'
43 | void q(vector<pair<int,int>>&a,vector<int>&wynik,vector<bool>&czy,vector<bool>&czy2)
| ~~~~~~~~~~~~^~~~~
teoreticar.cpp: In function 'int main()':
teoreticar.cpp:111:9: error: invalid initialization of reference of type 'std::vector<int>&' from expression of type 'std::vector<bool>'
111 | q(a,czy,czy2);
| ^~~
teoreticar.cpp:43:44: note: in passing argument 2 of 'void q(std::vector<std::pair<int, int> >&, std::vector<int>&, std::vector<bool>&, std::vector<bool>&)'
43 | void q(vector<pair<int,int>>&a,vector<int>&wynik,vector<bool>&czy,vector<bool>&czy2)
| ~~~~~~~~~~~~^~~~~