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:104:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < F[kk].size(); j++)
~~^~~~~~~~~~~~~~
fil.cpp:112:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (q < QS[0].size() && QS[0][q] == Sum[pa] + r)
~~^~~~~~~~~~~~~~
fil.cpp:121:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (q < QS[pa].size() && QS[pa][q] == Sum[pa] + r)
~~^~~~~~~~~~~~~~~
fil.cpp:89: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:93:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &pa, &l);
~~~~~^~~~~~~~~~~~~~~~~~