chase.cpp: In function 'void dfs(int, int)':
chase.cpp:9:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[x].size();j++) {
~^~~~~~~~~~~~
chase.cpp:13:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[x].size();j++) {
~^~~~~~~~~~~~
chase.cpp: In function 'int main()':
chase.cpp:27:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'llint* {aka long long int*}' [-Wformat=]
scanf("%d %d", &n, &v1);
~~ ^
chase.cpp:27:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'llint* {aka long long int*}' [-Wformat=]
chase.cpp:30:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'llint* {aka long long int*}' [-Wformat=]
scanf("%d", &arr[i]);
~~~~~~~^
chase.cpp:40:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++) {
~^~~~~~~~~~~~
chase.cpp:27:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &v1);
~~~~~^~~~~~~~~~~~~~~~~~
chase.cpp:30:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &arr[i]);
~~~~~^~~~~~~~~~~~~~~
chase.cpp:35:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
~~~~~^~~~~~~~~~~~~~~~~