foo.cc: In function 'int main()':
foo.cc:14:14: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
14 | scanf("%lld",&cost[i][j]);
| ~~~^ ~~~~~~~~~~~
| | |
| | int*
| long long int*
| %d
foo.cc:10:22: warning: unused variable 'k' [-Wunused-variable]
10 | long long int n,i,j,k;
| ^
foo.cc:11:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
foo.cc:14:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | scanf("%lld",&cost[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务