fil.cpp: In function 'void dfs(int, int, int)':
fil.cpp:25:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < QS[v].size(); j++)
~~^~~~~~~~~~~~~~
fil.cpp: In function 'int main()':
fil.cpp:58:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (kk = 0; kk < F[r].size(); kk++)
~~~^~~~~~~~~~~~~
fil.cpp:65:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (F[i].size() > kk)
~~~~~~~~~~~~^~~~
fil.cpp:96:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < F[kk].size(); j++)
~~^~~~~~~~~~~~~~
fil.cpp:81:12: warning: unused variable 'p' [-Wunused-variable]
int l, p, q;
^
fil.cpp:34:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &k);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
fil.cpp:71:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &s);
~~~~~^~~~~~~~~~
fil.cpp:76:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &pa, &w);
~~~~~^~~~~~~~~~~~~~~~~~
fil.cpp:85:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &pa, &l);
~~~~~^~~~~~~~~~~~~~~~~~