Wrong Answer
/in/foo.cc: In function 'void Output(int*, int)': /in/foo.cc:7:6: warning: value computed is not used [-Wunused-value] a[i]; ~~~^ /in/foo.cc:7:6: warning: statement has no effect [-Wunused-value] /in/foo.cc: In function 'int main()': /in/foo.cc:33:6: warning: unused variable 'max' [-Wunused-variable] int max=FindiMax(a,n); ^~~ /in/foo.cc: In function 'int FindiMax(int*, int)': /in/foo.cc:19:8: warning: 'i' is used uninitialized in this function [-Wuninitialized] cout<<i<<endl; ^
信息
- 递交者
- 类型
- 自测
- 题目
- A7-3 数组的极值下标函数
- 语言
- C++
- 递交时间
- 2024-11-11 17:13:07
- 评测时间
- 2024-11-11 17:13:07
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 364.0 KiB