city.cpp: In function 'int main()':
city.cpp:16:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=]
scanf("%d", &city[i][j]);
^
city.cpp:11:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
city.cpp:16:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &city[i][j]);
^