pipes.cpp: In function 'void dfs(int, int)':
pipes.cpp:26:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i = 0; i < adj[u].size(); i++){
| ~~^~~~~~~~~~~~~~~
pipes.cpp: In function 'int main()':
pipes.cpp:38:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
38 | scanf("%d%d",&n,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
pipes.cpp:38:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
38 | scanf("%d%d",&n,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
pipes.cpp:38:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
pipes.cpp:42:24: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | int a,b; scanf("%d%d",&a,&b);
| ~~~~~^~~~~~~~~~~~~~