foo.cc: In function 'int main()':
foo.cc:29:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
29 | scanf("%d", &n); //输入网格的行数和列数 n。
| ~~~~~^~~~~~~~~~
foo.cc:32:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
32 | scanf("%d", &Grid[i][j]); //输入每个单元格中叠放的正方体数量。
| ~~~~~^~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务