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]; ~~~^~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1002 等长切割
- 语言
- C++
- 递交时间
- 2019-08-30 23:56:25
- 评测时间
- 2019-08-30 23:56:25
- 评测机
- 分数
- 0
- 总耗时
- 91ms
- 峰值内存
- 712.0 KiB