/ ep /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:31: warning: left operand of comma operator has no effect [-Wunused-value]
     for(i=1;i<=n-1;i++) a[i+1]>=a[i],d=d+1;//特判:1~3组数据 
                         ~~~~~~^~~~~~
/in/foo.cc:5:49: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
  register int i,r,l,a[500001],s[500001],n,sum,m,d,seat;
                                                 ^
/in/foo.cc:5:51: warning: 'seat' may be used uninitialized in this function [-Wmaybe-uninitialized]
  register int i,r,l,a[500001],s[500001],n,sum,m,d,seat;
                                                   ^~~~
# 状态 耗时 内存占用
#1 Accepted 6ms 772.0 KiB
#2 Accepted 6ms 2.523 MiB
#3 Accepted 6ms 2.531 MiB
#4 Wrong Answer 6ms 2.5 MiB
#5 Wrong Answer 6ms 2.516 MiB
#6 Wrong Answer 6ms 2.516 MiB
#7 Wrong Answer 13ms 2.742 MiB
#8 Wrong Answer 14ms 2.707 MiB
#9 Wrong Answer 14ms 1.359 MiB
#10 Wrong Answer 16ms 3.051 MiB

信息

递交者
类型
递交
题目
P1000 序列最大区间和
语言
C++
递交时间
2019-08-19 01:02:07
评测时间
2019-08-19 01:02:07
评测机
分数
30
总耗时
98ms
峰值内存
3.051 MiB