记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:8: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d",ans);
  ~~~~~~^~~~~~~~~~
/in/foo.cc:21:24: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
   scanf("%d",&f[i]),sum+=f[i];
                     ~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 324.0 KiB
#2 Wrong Answer 3ms 332.0 KiB

信息

递交者
类型
自测
题目
数列分段Section I
语言
C++
递交时间
2017-10-22 20:10:01
评测时间
2017-10-22 20:10:01
评测机
分数
10
总耗时
7ms
峰值内存
332.0 KiB