/ Vijos /

记录详情

Wrong Answer

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)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0ll, expect 0. 1ms 384.0 KiB
#2 Wrong Answer Read 43004ll, expect 43004. 1ms 384.0 KiB
#3 Wrong Answer Read 29351864ll, expect 29351864. 1ms 384.0 KiB
#4 Wrong Answer Read 848553818ll, expect 53477486356314. 1ms 384.0 KiB
#5 Wrong Answer Read 847658108ll, expect 51922707299452. 1ms 384.0 KiB
#6 Wrong Answer Read 491023380ll, expect 2927709180747665.... 1ms 384.0 KiB
#7 Wrong Answer Read 2143463ll, expect 3970733714429939.... 2ms 384.0 KiB
#8 Wrong Answer Read 244639058ll, expect 4513427246035203.... 2ms 512.0 KiB
#9 Wrong Answer Read 472504386ll, expect 1671732093886273.... 2ms 512.0 KiB
#10 Wrong Answer Read 118214ll, expect 118214. 1ms 512.0 KiB

信息

递交者
类型
递交
题目
P1378 矩阵取数游戏
语言
C++
递交时间
2021-11-29 10:18:17
评测时间
2021-11-29 10:18:17
评测机
分数
0
总耗时
19ms
峰值内存
512.0 KiB