Accepted
foo.cc: In function ‘int main()’: foo.cc:21:18: warning: ‘m’ may be used uninitialized [-Wmaybe-uninitialized] 21 | cout<<m<<" "<<maa<<endl; | ^~~ foo.cc:5:43: note: ‘m’ was declared here 5 | int a[15],maa=INT_MIN,mii=INT_MAX,m,l; | ^ foo.cc:22:18: warning: ‘l’ may be used uninitialized [-Wmaybe-uninitialized] 22 | cout<<l<<' '<<mii<<endl; | ^~~ foo.cc:5:45: note: ‘l’ was declared here 5 | int a[15],maa=INT_MIN,mii=INT_MAX,m,l; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P2568 找最大数和最小数
- 比赛
- 春季班中级3.23
- 语言
- C++
- 递交时间
- 2024-03-30 09:35:14
- 评测时间
- 2024-03-30 09:35:14
- 评测机
- 分数
- 100
- 总耗时
- 10ms
- 峰值内存
- 540.0 KiB