toy.cpp: In function 'void dfs(long long int, std::vector<long long int>&, long long int, long long int)':
toy.cpp:20:13: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | while (i<d.size())
| ~^~~~~~~~~
toy.cpp:26:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | 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]<<" ";
| ~^~~~~~~~~