Accepted
foo.cc: In function 'int main()': foo.cc:25:20: warning: 'xb1' may be used uninitialized [-Wmaybe-uninitialized] 25 | cout<<xb1<<" "<<max<<endl; | ^~~ foo.cc:6:32: note: 'xb1' was declared here 6 | int max=0,min=99999999,xb1,xb2; | ^~~ foo.cc:26:20: warning: 'xb2' may be used uninitialized [-Wmaybe-uninitialized] 26 | cout<<xb2<<" "<<min<<endl; | ^~~ foo.cc:6:36: note: 'xb2' was declared here 6 | int max=0,min=99999999,xb1,xb2; | ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P2568 找最大数和最小数
- 比赛
- 春季班中级3.23
- 语言
- C++
- 递交时间
- 2024-03-23 09:28:52
- 评测时间
- 2024-03-23 09:28:52
- 评测机
- 分数
- 100
- 总耗时
- 10ms
- 峰值内存
- 540.0 KiB