/ ep /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:20: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:43: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
  register int a[100001],s[100001],n,sum,m,d,seat;
                                           ^
/in/foo.cc:5:45: warning: 'seat' may be used uninitialized in this function [-Wmaybe-uninitialized]
  register int a[100001],s[100001],n,sum,m,d,seat;
                                             ^~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1007ms ≥880.0 KiB
#2 Time Exceeded ≥1005ms ≥884.0 KiB
#3 Time Exceeded ≥1003ms ≥888.0 KiB
#4 Time Exceeded ≥1004ms ≥888.0 KiB
#5 Time Exceeded ≥1006ms ≥788.0 KiB
#6 Time Exceeded ≥1005ms ≥888.0 KiB
#7 Runtime Error 23ms 1.156 MiB
#8 Runtime Error 23ms 1.094 MiB
#9 Runtime Error 23ms 1.078 MiB
#10 Runtime Error 25ms 1.145 MiB

信息

递交者
类型
递交
题目
P1000 序列最大区间和
语言
C++
递交时间
2019-08-19 00:36:47
评测时间
2019-08-19 00:36:47
评测机
分数
0
总耗时
6129ms
峰值内存
1.156 MiB