politicaldevelopment.cpp: In function 'int main()':
politicaldevelopment.cpp:27:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < grafo[i].size(); j++) {
~~^~~~~~~~~~~~~~~~~
politicaldevelopment.cpp:28:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = j + 1; k < grafo[i].size(); k++) {
~~^~~~~~~~~~~~~~~~~
politicaldevelopment.cpp:34:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ind.size(); i++) {
~~^~~~~~~~~~~~
politicaldevelopment.cpp:35:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i + 1; j < ind.size(); j++) {
~~^~~~~~~~~~~~
politicaldevelopment.cpp:36:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = j + 1; k < ind.size(); k++) {
~~^~~~~~~~~~~~
politicaldevelopment.cpp:11: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:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a); grau[i] = a;
~~~~~^~~~~~~~~~
politicaldevelopment.cpp:20:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b);
~~~~~^~~~~~~~~~