记录详情

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 -807788338, expect 6. 4ms 324.0 KiB
#2 Wrong Answer Read -1223966317, expect 2411. 4ms 412.0 KiB
#3 Wrong Answer Read 1838045528, expect 48. 4ms 400.0 KiB
#4 Wrong Answer Read 995366315, expect 99. 4ms 412.0 KiB
#5 Wrong Answer Read -1755254592, expect 24. 4ms 412.0 KiB
#6 Wrong Answer Read 412665422, expect 54. 4ms 332.0 KiB
#7 Wrong Answer Read -1470872767, expect 9. 4ms 412.0 KiB
#8 Wrong Answer Read 241330187, expect 115. 4ms 412.0 KiB
#9 Wrong Answer Read 195868785, expect 393. 4ms 412.0 KiB
#10 Wrong Answer Read 1452089842, expect 90. 4ms 412.0 KiB

信息

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