cleaning.cpp: In function 'void dfs(long long int, long long int, long long int)':
cleaning.cpp:18:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i=0;i<adj[v].size();i++)
| ~^~~~~~~~~~~~~~
cleaning.cpp: At global scope:
cleaning.cpp:29:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
29 | main()
| ^
cleaning.cpp: In function 'int main()':
cleaning.cpp:31:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
31 | for(scanf("%lld %lld", &n, &q);++i<n;)
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cleaning.cpp:33:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
33 | scanf("%lld %lld", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
cleaning.cpp:57:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
57 | scanf("%lld %lld", &a, &a);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~