foo.cc: In member function 'void Matrix::in()':
foo.cc:12:16: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
12 | scanf(" %c",a[i]+j);
| ~^ ~~~~~~
| | |
| char* int*
| %d
foo.cc: In function 'int main()':
foo.cc:41:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
41 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
foo.cc: In member function 'void Matrix::in()':
foo.cc:12:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | scanf(" %c",a[i]+j);
| ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 7 testcases.
[Hydro](https://hydro.ac)提供评测服务