foo.cc: In function 'int main()':
foo.cc:83:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
83 | for (int i = 2; i <= 9; i++) scanf("%d", &Matrix[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~
foo.cc: In function 'void bfs()':
foo.cc:27:13: warning: 'nowjz[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
27 | if (nowjz[1] + nowjz[5] + nowjz[9] != 15) return false;
| ~~~~~~~^
foo.cc:27:24: warning: 'nowjz[5]' may be used uninitialized in this function [-Wmaybe-uninitialized]
27 | if (nowjz[1] + nowjz[5] + nowjz[9] != 15) return false;
| ~~~~~~~^
foo.cc:27:35: warning: 'nowjz[9]' may be used uninitialized in this function [-Wmaybe-uninitialized]
27 | if (nowjz[1] + nowjz[5] + nowjz[9] != 15) return false;
| ~~~~~~~^
foo.cc:28:13: warning: 'nowjz[7]' may be used uninitialized in this function [-Wmaybe-uninitialized]
28 | if (nowjz[7] + nowjz[8] + nowjz[9] != 15) return false;
| ~~~~~~~^
foo.cc:28:24: warning: 'nowjz[8]' may be used uninitialized in this function [-Wmaybe-uninitialized]
28 | if (nowjz[7] + nowjz[8] + nowjz[9] != 15) return false;
| ~~~~~~~^
[Hydro](https://hydro.ac)提供评测服务