toy.cpp: In function 'void dfs(int, std::vector<long long int>, int)':
toy.cpp:18:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for (int i=0; i<d.size(); i++) if (x%d[i]==0) dd.pb(d[i]);
| ~^~~~~~~~~
toy.cpp:20:20: 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 (int i=0; i<dd.size(); i++)
| ~^~~~~~~~~~
toy.cpp: In function 'int main()':
toy.cpp:38:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for (int i=0; i<ress.size(); i++) if (!bio[ress[i]]) { bio[ress[i]]=true; r.pb(ress[i]); }
| ~^~~~~~~~~~~~
toy.cpp:41:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
41 | sort(r.begin(), r.end());
| ^~~~
| qsort
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<r.size(); i++) cout<<r[i]<<" ";
| ~^~~~~~~~~