foo.cc: In function 'int main()':
foo.cc:14:63: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int> >::value_type* {aka long long unsigned int*}' [-Wformat=]
for (long long j = 0; j < m; j++)scanf("%ull", &matrix[i][j]);
^
foo.cc:32:20: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=]
printf("%ull", res);
^
foo.cc:10:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &n, &m);
~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:14:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (long long j = 0; j < m; j++)scanf("%ull", &matrix[i][j]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务