politicaldevelopment.cpp: In function 'int main()':
politicaldevelopment.cpp:42:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<chd.size(); j++) if(i&(1<<j)) V.push_back(chd[j]);
~^~~~~~~~~~~
politicaldevelopment.cpp:44:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<V.size(); j++)
~^~~~~~~~~
politicaldevelopment.cpp:46:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k=j+1, p=0; k<V.size(); k++)
~^~~~~~~~~
politicaldevelopment.cpp:48:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; p<adj2[V[j]].size() && adj2[V[j]][p]<V[k]; p++);
~^~~~~~~~~~~~~~~~~~
politicaldevelopment.cpp:18:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
~~~~~^~~~~~~~~~~~~~~~
politicaldevelopment.cpp:22:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &s);
~~~~~^~~~~~~~~~
politicaldevelopment.cpp:23:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
while(s--) { int t; scanf("%d", &t); adj[i].push_back(t+1); }
~~~~~^~~~~~~~~~