Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:27:17: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<aMaxNeg<<" "<<bMaxNeg<<endl; ^~~ /in/foo.cc:27:22: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<aMaxNeg<<" "<<bMaxNeg<<endl; ^~~~~~~ /in/foo.cc: In function 'int FindMaxNeg(int*, int)': /in/foo.cc:44:9: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] return k; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1069 A9-3 数组中最大的负数
- 语言
- C++
- 递交时间
- 2021-07-07 12:02:31
- 评测时间
- 2021-07-07 12:02:31
- 评测机
- 分数
- 100
- 总耗时
- 6ms
- 峰值内存
- 388.0 KiB