bitaro.cpp: In function 'int main()':
bitaro.cpp:22:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < adjList[i].size(); j++) {
~~^~~~~~~~~~~~~~~~~~~
bitaro.cpp:24:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (k = 0; k < best[v].size(); k++) best[i].pb(mp(best[v][k].first+1,best[v][k].second));
~~^~~~~~~~~~~~~~~~
bitaro.cpp:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < best[i].size(); j++) {
~~^~~~~~~~~~~~~~~~
bitaro.cpp:38:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < best[T].size(); j++) {
~~^~~~~~~~~~~~~~~~
bitaro.cpp:41:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j < best[T].size()) printf("%d\n",best[T][j].first);
~~^~~~~~~~~~~~~~~~
bitaro.cpp:45:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (k = 0; k < adjList[j].size(); k++) dp[j] = max(dp[j],dp[adjList[j][k]]+1);
~~^~~~~~~~~~~~~~~~~~~
bitaro.cpp:18:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&M,&Q);
~~~~~^~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:19:49: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (i = 0; i < M; i++) scanf("%d %d",&S,&E),adjList[E-1].pb(S-1);
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:35:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&T,&Y),T--;
~~~~~~~~~~~~~~~~~~~~^~~~
bitaro.cpp:37:57: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (j = 0; j < Y; j++) scanf("%d",&C[j]),C[j]--,del[C[j]] = 1;
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~