/ ep /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:38:15: warning: 'sum1' may be used uninitialized in this function [-Wmaybe-uninitialized]
   maxtime=sum1+sum2+max(pseat[1],pseat[n]-pseat[n-1]); 
           ~~~~^~~~~
/in/foo.cc:38:15: warning: 'sum2' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.cc:32:15: warning: 'sum1' may be used uninitialized in this function [-Wmaybe-uninitialized]
   maxtime=midd+sum1+sum2+max(pseat[1]+d[1],pseat[n]-pseat[n-1]+d[n-1]);
           ~~~~^~~~~
/in/foo.cc:32:20: warning: 'sum2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   maxtime=midd+sum1+sum2+max(pseat[1]+d[1],pseat[n]-pseat[n-1]+d[n-1]);
           ~~~~~~~~~^~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 6.316 MiB
#2 Wrong Answer 2ms 6.32 MiB
#3 Wrong Answer 3ms 6.199 MiB
#4 Wrong Answer 3ms 6.316 MiB
#5 Wrong Answer 2ms 6.312 MiB
#6 Wrong Answer 2ms 6.195 MiB
#7 Wrong Answer 50ms 7.234 MiB
#8 Wrong Answer 49ms 9.828 MiB
#9 Runtime Error 46ms 3.855 MiB
#10 Wrong Answer 52ms 9.77 MiB

信息

递交者
类型
递交
题目
P1007 独木桥
语言
C++
递交时间
2019-09-03 00:25:46
评测时间
2019-09-03 00:25:46
评测机
分数
0
总耗时
215ms
峰值内存
9.828 MiB