记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   11 |     for(int p=1;p<=k;p++)
      |     ^~~
foo.cc:20:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   20 |         long long sum;
      |         ^~~~
foo.cc:24:20: warning: statement has no effect [-Wunused-value]
   24 |                 sum%998244353;
      |                 ~~~^~~~~~~~~~
In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/istream:39,
                 from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/sstream:38,
                 from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/complex:45,
                 from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.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:26:8:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.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:20:19: note: 'sum' was declared here
   20 |         long long sum;
      |                   ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 140736515662824, expect 0. 4ms 412.0 KiB
#2 Wrong Answer Read 140722241644520, expect 0. 3ms 412.0 KiB
#3 Wrong Answer Read 140726200628472, expect 4. 3ms 412.0 KiB
#4 Wrong Answer Read 140724676179192, expect 1. 3ms 412.0 KiB
#5 Wrong Answer Read 140727586608728, expect 0. 4ms 412.0 KiB
#6 Wrong Answer Read 140724059801848, expect 0. 3ms 412.0 KiB
#7 Wrong Answer Read 140724151508680, expect 0. 3ms 332.0 KiB
#8 Wrong Answer Read 140734268064264, expect 0. 3ms 412.0 KiB
#9 Wrong Answer Read 140734980112248, expect 2901. 3ms 412.0 KiB
#10 Wrong Answer Read 140728430510456, expect 1. 3ms 412.0 KiB
#11 Wrong Answer Read 140735123449816, expect 1. 3ms 412.0 KiB
#12 Wrong Answer Read 140737050956920, expect 0. 3ms 412.0 KiB
#13 Wrong Answer Read 140729289631320, expect 550566. 3ms 412.0 KiB
#14 Wrong Answer Read 140721330942664, expect 0. 3ms 412.0 KiB
#15 Wrong Answer Read 140727230084552, expect 91946. 3ms 332.0 KiB
#16 Wrong Answer Read 140737239605192, expect 1115. 3ms 412.0 KiB
#17 Wrong Answer Read 140724225537240, expect 0. 3ms 368.0 KiB
#18 Wrong Answer Read 140735528021896, expect 0. 3ms 412.0 KiB
#19 Wrong Answer Read 140734840968520, expect 0. 3ms 372.0 KiB
#20 Wrong Answer Read 140723374539384, expect 7. 3ms 412.0 KiB
#21 Wrong Answer Read 140721561046136, expect 2. 3ms 328.0 KiB
#22 Wrong Answer Read 140727102642936, expect 0. 3ms 412.0 KiB
#23 Wrong Answer Read 140722224066264, expect 0. 3ms 332.0 KiB
#24 Wrong Answer Read 140724745957992, expect 0. 3ms 412.0 KiB
#25 Wrong Answer Read 140723106042424, expect 1. 3ms 412.0 KiB
#26 Wrong Answer Read 140731905755864, expect 2688. 3ms 412.0 KiB
#27 Wrong Answer Read 140735327656792, expect 31. 3ms 412.0 KiB
#28 Wrong Answer Read 140729079995624, expect 0. 4ms 412.0 KiB
#29 Wrong Answer Read 140722251761544, expect 0. 3ms 412.0 KiB
#30 Wrong Answer Read 140721564742120, expect 0. 3ms 412.0 KiB
#31 Wrong Answer Read 140721023773848, expect 892103730. 8ms 908.0 KiB
#32 Wrong Answer Read 140723101771128, expect 722672858. 9ms 852.0 KiB
#33 Wrong Answer Read 140728896040584, expect 224249178. 7ms 796.0 KiB
#34 Wrong Answer Read 140730750915144, expect 959870805. 10ms 924.0 KiB
#35 Wrong Answer Read 140726146624728, expect 275952221. 9ms 924.0 KiB
#36 Wrong Answer Read 140736928299112, expect 931693099. 9ms 924.0 KiB
#37 Wrong Answer Read 140728970871432, expect 305693698. 8ms 924.0 KiB
#38 Wrong Answer Read 140720939735992, expect 46966208. 9ms 924.0 KiB
#39 Wrong Answer Read 140724678946024, expect 705262804. 7ms 844.0 KiB
#40 Wrong Answer Read 140730305078408, expect 693994959. 8ms 796.0 KiB
#41 Wrong Answer Read 140720462382936, expect 268795011. 9ms 924.0 KiB
#42 Wrong Answer Read 140720407220312, expect 113212122. 8ms 796.0 KiB
#43 Wrong Answer Read 140724187524248, expect 783319433. 9ms 924.0 KiB
#44 Wrong Answer Read 140729471900216, expect 45998498. 9ms 884.0 KiB
#45 Wrong Answer Read 140724598836184, expect 672939955. 10ms 1.027 MiB
#46 Wrong Answer Read 140736685866920, expect 287595249. 9ms 988.0 KiB
#47 Wrong Answer Read 140737336464408, expect 154500032. 8ms 840.0 KiB
#48 Wrong Answer Read 140732440930808, expect 654413259. 10ms 924.0 KiB
#49 Wrong Answer Read 140723211213848, expect 346989975. 14ms 972.0 KiB
#50 Wrong Answer Read 140736104131752, expect 691809406. 14ms 924.0 KiB
#51 Wrong Answer Read 140720393321208, expect 271412335. 8ms 924.0 KiB
#52 Wrong Answer Read 140724163123640, expect 747213697. 9ms 972.0 KiB
#53 Wrong Answer Read 140733692034568, expect 282843321. 9ms 924.0 KiB
#54 Wrong Answer Read 140728929630696, expect 189425807. 8ms 796.0 KiB
#55 Wrong Answer Read 140721882568856, expect 950395182. 8ms 936.0 KiB
#56 Wrong Answer Read 140723974782296, expect 101538446. 9ms 924.0 KiB
#57 Wrong Answer Read 140731707163896, expect 227208685. 9ms 972.0 KiB
#58 Wrong Answer Read 140727794508664, expect 902410890. 10ms 796.0 KiB
#59 Wrong Answer Read 140733246785944, expect 734755123. 7ms 844.0 KiB
#60 Wrong Answer Read 140734633974952, expect 441849047. 11ms 1.027 MiB

信息

递交者
类型
递交
题目
P1345 1D 象棋
语言
C++
递交时间
2023-08-16 16:25:48
评测时间
2023-08-16 16:25:48
评测机
分数
0
总耗时
400ms
峰值内存
1.027 MiB