toy.cpp: In function 'void dfs(int, std::vector<long long int>&, int, int)':
toy.cpp:17:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | while (i<d.size())
| ~^~~~~~~~~
toy.cpp:23:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (int i=0; i<dd.size(); i++)
| ~^~~~~~~~~~
toy.cpp: In function 'int main()':
toy.cpp:41:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (int i=0; i<ress.size(); i++) if (!bio[ress[i]]) { bio[ress[i]]=true; r.pb(ress[i]); }
| ~^~~~~~~~~~~~
toy.cpp:45:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (int i=0; i<r.size(); i++) cout<<r[i]<<" ";
| ~^~~~~~~~~