chase.cpp: In function 'void dfs(int, int)':
chase.cpp:21:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i = 0; i < grafo[x].size(); i++){
| ~~^~~~~~~~~~~~~~~~~
chase.cpp:36:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(int i = 0; i < grafo[x].size(); i++){
| ~~^~~~~~~~~~~~~~~~~
chase.cpp: In function 'int main()':
chase.cpp:49:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
49 | scanf("%d %d", &n, &crum);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
chase.cpp:54:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
54 | for(int i = 1; i <= n; i++) scanf("%lld", &a[i]);
| ~~~~~^~~~~~~~~~~~~~~
chase.cpp:57:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
57 | scanf("%d %d", &u, &v);
| ~~~~~^~~~~~~~~~~~~~~~~