/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:22:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   22 |                         scanf("%d",&a[i][j]);
      |                                ~^  ~~~~~~~~
      |                                 |  |
      |                                 |  long long int*
      |                                 int*
      |                                %lld
In file included from /nix/store/jgdz5wfqc6q6qhy17lsqnfpbkfi1fcar-gcc-12.2.0/include/c++/12.2.0/istream:39,
                 from /nix/store/jgdz5wfqc6q6qhy17lsqnfpbkfi1fcar-gcc-12.2.0/include/c++/12.2.0/sstream:38,
                 from /nix/store/jgdz5wfqc6q6qhy17lsqnfpbkfi1fcar-gcc-12.2.0/include/c++/12.2.0/complex:45,
                 from /nix/store/jgdz5wfqc6q6qhy17lsqnfpbkfi1fcar-gcc-12.2.0/include/c++/12.2.0/ccomplex:39,
                 from stdc++.h:54:
In member function 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>]',
    inlined from 'int main()' at foo.cc:39:8:
/nix/store/jgdz5wfqc6q6qhy17lsqnfpbkfi1fcar-gcc-12.2.0/include/c++/12.2.0/ostream:202:25: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
  202 |       { return _M_insert(__n); }
      |                ~~~~~~~~~^~~~~
foo.cc: In function 'int main()':
foo.cc:35:13: note: 'sum' was declared here
   35 |         int sum;
      |             ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 0. 4ms 332.0 KiB
#2 Wrong Answer Read 43005, expect 43004. 4ms 412.0 KiB
#3 Wrong Answer Read 29351865, expect 29351864. 5ms 644.0 KiB
#4 Wrong Answer Read 53477486356315, expect 53477486356314. 7ms 1.254 MiB
#5 Wrong Answer Read 51922707299453, expect 51922707299452. 6ms 1.152 MiB
#6 Wrong Answer Read 8625244546177853361, expect 2927709180747665.... 6ms 1.027 MiB
#7 Wrong Answer Read 1, expect 3970733714429939.... 7ms 1.504 MiB
#8 Wrong Answer Read 1, expect 4513427246035203.... 19ms 4.285 MiB
#9 Wrong Answer Read 1, expect 1671732093886273.... 21ms 5.152 MiB
#10 Wrong Answer Read 118215, expect 118214. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1378 矩阵取数游戏
语言
C++
递交时间
2023-12-16 21:29:23
评测时间
2023-12-16 21:29:23
评测机
分数
0
总耗时
86ms
峰值内存
5.152 MiB