bosses.cpp: In function 'void bfs(int, int)':
bosses.cpp:16:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if(check[v] and br!=ord.size()){bfs(ord[br].first, br+1); return;}
| ~~^~~~~~~~~~~~
bosses.cpp:17:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | else if(check[v] and br==ord.size())return;
| ~~^~~~~~~~~~~~
bosses.cpp:20:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i=0; i<graff[v].size(); i++)
| ~^~~~~~~~~~~~~~~~
bosses.cpp:24:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if(br==ord.size())return;
| ~~^~~~~~~~~~~~
bosses.cpp: In function 'int dfs(int)':
bosses.cpp:34:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int i=0; i<tree[v].size(); i++)
| ~^~~~~~~~~~~~~~~
bosses.cpp: In function 'int main()':
bosses.cpp:61:9: warning: unused variable 'k' [-Wunused-variable]
61 | int k=dfs(d[n].second);
| ^