记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:15: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
   16 |         cout<<sum;
      |               ^~~
foo.cc:6:34: note: 'sum' was declared here
    6 |         int a[10000]={0},L,M,m,n,sum;
      |                                  ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1595892834, expect 6. 4ms 332.0 KiB
#2 Wrong Answer Read 470955539, expect 2411. 4ms 412.0 KiB
#3 Wrong Answer Read 1925493192, expect 48. 4ms 332.0 KiB
#4 Wrong Answer Read -1965673701, expect 99. 4ms 412.0 KiB
#5 Wrong Answer Read 606587968, expect 24. 4ms 412.0 KiB
#6 Wrong Answer Read -1129804674, expect 54. 4ms 412.0 KiB
#7 Wrong Answer Read 759116753, expect 9. 4ms 412.0 KiB
#8 Wrong Answer Read -228977541, expect 115. 4ms 412.0 KiB
#9 Wrong Answer Read 42385905, expect 393. 3ms 412.0 KiB
#10 Wrong Answer Read 1920409634, expect 90. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1007 校门外的树
语言
C++
递交时间
2023-08-21 16:07:33
评测时间
2023-08-21 16:07:33
评测机
分数
0
总耗时
42ms
峰值内存
412.0 KiB