Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:25:8: warning: variable 't' set but not used [-Wunused-but-set-variable] int t; ^ /in/foo.cc:29:6: error: redeclaration of 'int maxnum' int maxnum = 0; ^~~~~~ /in/foo.cc:6:36: note: 'int maxnum' previously declared here int n,a[max],num[max],sum,top,ave,maxnum; ^~~~~~ /in/foo.cc:32:8: error: 'i' was not declared in this scope for (i=1;i<=n;i++) ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1742 数据统计
- 语言
- C++
- 递交时间
- 2018-10-28 14:29:55
- 评测时间
- 2018-10-28 14:29:55
- 评测机
- 分数
- 0
- 总耗时
- 250ms
- 峰值内存
- 29.566 MiB