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