/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:70:12: warning: unused variable 'mp' [-Wunused-variable]
  int mi,ma,mp=-inf,mo=inf,l=0,r,mid,ans,malcm=inf,zc;
            ^~
/in/foo.cc:70:20: warning: unused variable 'mo' [-Wunused-variable]
  int mi,ma,mp=-inf,mo=inf,l=0,r,mid,ans,malcm=inf,zc;
                    ^~
/in/foo.cc:78:7: warning: 'ma' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(ma<0||mi>0)
     ~~^~
/in/foo.cc:78:13: warning: 'mi' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(ma<0||mi>0)
           ~~^~
/in/foo.cc:96:8: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d",ans);
  ~~~~~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 348.0 KiB
#2 Wrong Answer 3ms 344.0 KiB
#3 Wrong Answer 4ms 384.0 KiB
#4 Accepted 3ms 356.0 KiB
#5 Wrong Answer 3ms 356.0 KiB
#6 Wrong Answer 3ms 380.0 KiB
#7 Wrong Answer 4ms 344.0 KiB
#8 Wrong Answer 4ms 360.0 KiB
#9 Wrong Answer 4ms 356.0 KiB
#10 Accepted 3ms 344.0 KiB

信息

递交者
类型
递交
题目
P1527 数列
语言
C++
递交时间
2017-10-27 21:56:34
评测时间
2017-10-27 21:56:34
评测机
分数
20
总耗时
39ms
峰值内存
384.0 KiB