Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:10:11: error: 'maxn' was not declared in this scope if(a[i]>maxn) ^~~~ /in/foo.cc:13:8: error: 'maxn' was not declared in this scope cout<<maxn; ^~~~ /in/foo.cc:5:17: warning: unused variable 'minn' [-Wunused-variable] int n,a[10005],minn=-1000; ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1048 A7-3 数组的极值下标函数
- 语言
- C++
- 递交时间
- 2024-07-12 22:40:12
- 评测时间
- 2024-07-12 22:40:12
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes