politicaldevelopment.cpp: In function 'int main()':
politicaldevelopment.cpp:41:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
41 | for(int j=0;j<deg;j++) id[g[i][j]]=-1; id[i]=-1;
| ^~~
politicaldevelopment.cpp:41:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
41 | for(int j=0;j<deg;j++) id[g[i][j]]=-1; id[i]=-1;
| ^~
politicaldevelopment.cpp:9:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%d%d",&n,&k);
| ~~~~~^~~~~~~~~~~~~~
politicaldevelopment.cpp:12:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d",&d);
| ~~~~~^~~~~~~~~
politicaldevelopment.cpp:15:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d",&x);
| ~~~~~^~~~~~~~~