biochips.cpp: In function 'void rec(long long int, long long int)':
biochips.cpp:25:15: 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]
25 | for (i=0;i<gg[x].size();++i){
| ~^~~~~~~~~~~~~
biochips.cpp: In function 'void dfs(long long int, long long int, long long int, long long int)':
biochips.cpp:47:15: 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]
47 | for (i=0;i<g[x].size();++i){
| ~^~~~~~~~~~~~
biochips.cpp:49:23: 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]
49 | for (int j=0;j<v.size();++j){
| ~^~~~~~~~~
biochips.cpp: At global scope:
biochips.cpp:60:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
60 | main(){
| ^
biochips.cpp: In function 'int main()':
biochips.cpp:61:15: warning: unused variable 'cnt' [-Wunused-variable]
61 | int i,j,s,cnt=1;
| ^~~
biochips.cpp:12:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | #define scan2(a,b) scanf("%lld %lld",&a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
biochips.cpp:62:5: note: in expansion of macro 'scan2'
62 | scan2(n,m)
| ^~~~~
biochips.cpp:12:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | #define scan2(a,b) scanf("%lld %lld",&a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
biochips.cpp:65:9: note: in expansion of macro 'scan2'
65 | scan2(x,ves[i])
| ^~~~~
biochips.cpp:72:8: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
72 | rec(s,0);
| ~~~^~~~~