记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:17:15: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
   17 |         cout<<sum;
      |               ^~~
foo.cc:6:30: note: 'sum' was declared here
    6 |         int a[10000]={0},L,M,sum;
      |                              ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1112445294, expect 6. 3ms 408.0 KiB
#2 Wrong Answer Read 1669423507, expect 2411. 3ms 332.0 KiB
#3 Wrong Answer Read 1531709960, expect 48. 6ms 408.0 KiB
#4 Wrong Answer Read -117518725, expect 99. 6ms 396.0 KiB
#5 Wrong Answer Read -1518523056, expect 24. 3ms 412.0 KiB
#6 Wrong Answer Read 1918446894, expect 54. 3ms 412.0 KiB
#7 Wrong Answer Read -1516170559, expect 9. 3ms 412.0 KiB
#8 Wrong Answer Read 1064459707, expect 115. 3ms 412.0 KiB
#9 Wrong Answer Read 895863649, expect 393. 4ms 328.0 KiB
#10 Wrong Answer Read 1000266386, expect 90. 4ms 412.0 KiB

信息

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