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