cleaning.cpp: In function 'void dfs(int, int)':
cleaning.cpp:14:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for (i = 0 ; i < v[nod].size() ; i++){
| ~~^~~~~~~~~~~~~~~
cleaning.cpp: In function 'int main()':
cleaning.cpp:34:12: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
34 | fscanf (fin,"%d%d",&n,&q);
| ~~~~~~~^~~~~~~~~~~~~~~~~~
cleaning.cpp:36:16: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
36 | fscanf (fin,"%d%d",&xx,&y);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~
cleaning.cpp:41:16: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
41 | fscanf (fin,"%d",&d);
| ~~~~~~~^~~~~~~~~~~~~
cleaning.cpp:44:20: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
44 | fscanf (fin,"%d",&x[i]);
| ~~~~~~~^~~~~~~~~~~~~~~~