Accepted
/in/foo.cc: In function 'int FindMinPos(int, int*)': /in/foo.cc:15:9: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] return x; ^ /in/foo.cc: In function 'int main()': /in/foo.cc:24:26: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<FindMinPos(n1,a)<<' '<<FindMinPos(n2,b); ^~~ /in/foo.cc:24:47: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<FindMinPos(n1,a)<<' '<<FindMinPos(n2,b); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1068 A9-2 数组中最小正数的下标
- 语言
- C++
- 递交时间
- 2024-03-03 22:29:50
- 评测时间
- 2024-03-03 22:29:50
- 评测机
- 分数
- 100
- 总耗时
- 7ms
- 峰值内存
- 360.0 KiB