/ new_bzoj /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool ST::GetRMQ(int, int, int&, int&)':
/in/foo.cc:64:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:78:10: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
   q.push(State(i,l,r,pos,val-sum[i-1]));//val-sum[i-1] 以i为左端点,右端点在l,r中的最大区间和
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:29:93: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
  State(int _from,int _l,int _r,int _pos,int _val):from(_from),l(_l),r(_r),pos(_pos),val(_val) {};
                                                                                             ^
/in/foo.cc:75:18: note: 'pos' was declared here
  for(int i=1,l,r,pos,val;i<=n-L+1;i++){
                  ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 4.25 MiB
#2 Wrong Answer 263ms 106.535 MiB
#3 Wrong Answer 305ms 106.156 MiB
#4 Wrong Answer 3ms 4.25 MiB
#5 Accepted 25ms 24.043 MiB
#6 Wrong Answer 6ms 4.727 MiB
#7 Wrong Answer 227ms 106.055 MiB
#8 Wrong Answer 33ms 20.754 MiB
#9 Wrong Answer 55ms 24.023 MiB
#10 Wrong Answer 70ms 25.289 MiB

信息

递交者
类型
递交
题目
超级钢琴
语言
C++
递交时间
2017-09-01 22:37:17
评测时间
2017-09-01 22:37:17
评测机
分数
10
总耗时
995ms
峰值内存
106.535 MiB