indcyc.cpp: In function 'void dfs(int, int, int)':
indcyc.cpp:9:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for(int i = 0; i < grafo[v].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~
indcyc.cpp: In function 'void dfs2(int, int, int)':
indcyc.cpp:20:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i = 0; i < grafo[v].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~
indcyc.cpp: In function 'int main()':
indcyc.cpp:45:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(int k = 0; k < grafo[j].size(); k++) {
| ~~^~~~~~~~~~~~~~~~~
indcyc.cpp:71:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(int i = 0; i < resp.size(); i++) printf("%d ", resp[i] + 1);
| ~~^~~~~~~~~~~~~
indcyc.cpp:30:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
30 | scanf("%d %d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~~
indcyc.cpp:34:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
34 | scanf("%d %d", &a, &b); a--; b--;
| ~~~~~^~~~~~~~~~~~~~~~~
indcyc.cpp:63:17: warning: 'ft' may be used uninitialized in this function [-Wmaybe-uninitialized]
63 | dfs2(ft, ft, i);
| ~~~~^~~~~~~~~~~