Wrong Answer
foo.cc: In function 'int maxa(int*, int)': foo.cc:8:16: warning: 'xia' may be used uninitialized [-Wmaybe-uninitialized] 8 | return xia; | ^~~ foo.cc:4:25: note: 'xia' was declared here 4 | int ans=INT_MIN,xia; | ^~~ foo.cc: In function 'int main()': foo.cc:20:29: warning: 'xia' may be used uninitialized [-Wmaybe-uninitialized] 20 | cout<<a[x]<<' '<<a[x]+1<<endl; | ~~~^ foo.cc:4:25: note: 'xia' was declared here 4 | int ans=INT_MIN,xia; | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1492 C7 差距最大的相邻数
- 比赛
- 2023.8高级班结业模拟测试
- 语言
- C++
- 递交时间
- 2023-08-09 09:14:06
- 评测时间
- 2023-08-09 09:14:06
- 评测机
- 分数
- 0
- 总耗时
- 18ms
- 峰值内存
- 412.0 KiB