/ ep /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:15: warning: variable 'ans' set but not used [-Wunused-but-set-variable]
  register int ans,i,n,k,MIN,sum,time;
               ^~~
/in/foo.cc:13:55: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(i=1;i<=n;i++) cin>>len[i],MIN=min(MIN,len[i]),sum+=len[i];
                                                    ~~~^~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 9ms 672.0 KiB
#2 Wrong Answer 8ms 680.0 KiB
#3 Wrong Answer 9ms 712.0 KiB
#4 Wrong Answer 8ms 700.0 KiB
#5 Wrong Answer 9ms 700.0 KiB
#6 Wrong Answer 8ms 692.0 KiB
#7 Wrong Answer 9ms 700.0 KiB
#8 Wrong Answer 9ms 680.0 KiB
#9 Wrong Answer 9ms 696.0 KiB
#10 Wrong Answer 8ms 700.0 KiB

信息

递交者
类型
递交
题目
P1002 等长切割
语言
C++
递交时间
2019-08-30 23:56:25
评测时间
2019-08-30 23:56:25
评测机
分数
0
总耗时
91ms
峰值内存
712.0 KiB