bosses.cpp: In function 'void bfs(int, int)':
bosses.cpp:18:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i=0; i<graff[v].size(); i++)
| ~^~~~~~~~~~~~~~~~
bosses.cpp:22: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]
22 | if(br==ord.size())return;
| ~~^~~~~~~~~~~~
bosses.cpp: In function 'int dfs(int)':
bosses.cpp:32:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | 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-1].second);
| ^