Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:12:17: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations] if(a[i]> a[i+1]) ~~~~~^ /in/foo.cc:10:17: note: within this loop for(int i = 0;i<7;i++) ~^~ /in/foo.cc:21:19: warning: 'in' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<ax<<" "<<in; ^ /in/foo.cc:21:12: warning: 'ax' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<ax<<" "<<in; ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1005 找出5个数的最大值和最小值
- 语言
- C++
- 递交时间
- 2024-11-06 17:37:29
- 评测时间
- 2024-11-06 17:37:29
- 评测机
- 分数
- 0
- 总耗时
- 18ms
- 峰值内存
- 376.0 KiB