/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:24:15: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'long long unsigned int' [-Wformat=]
   24 |     printf("%lu\n" ,ans);
      |             ~~^     ~~~
      |               |     |
      |               |     long long unsigned int
      |               long unsigned int
      |             %llu
foo.cc:9:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 |     scanf("%d %d", &n, &m);
      |     ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:11:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   11 |      for (int j = 1; j <= m; j++) scanf("%d", &a[i][j]);
      |                                   ~~~~~^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 7ms 384.0 KiB
#2 Accepted 6ms 384.0 KiB
#3 Accepted 5ms 384.0 KiB
#4 Accepted 6ms 424.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Wrong Answer Read 5487143190516742542, expect 2927709180747665.... 3ms 384.0 KiB
#7 Wrong Answer Read 8049911978344132954, expect 3970733714429939.... 4ms 384.0 KiB
#8 Wrong Answer Read 3942376471412760228, expect 4513427246035203.... 4ms 512.0 KiB
#9 Wrong Answer Read 8022340535343085068, expect 1671732093886273.... 4ms 512.0 KiB
#10 Accepted 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P1378 矩阵取数游戏
语言
C++
递交时间
2022-06-30 11:50:24
评测时间
2022-06-30 11:50:24
评测机
分数
60
总耗时
52ms
峰值内存
512.0 KiB