Wrong Answer

foo.cc: In function 'int main()':
foo.cc:21:19: warning: 'max2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   21 |  cout<<max1<<' '<<max2<<endl;
      |                   ^~~~
foo.cc:21:14: warning: 'max1' may be used uninitialized in this function [-Wmaybe-uninitialized]
   21 |  cout<<max1<<' '<<max2<<endl;
      |              ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Wrong Answer Read -15, expect -3. 3ms 384.0 KiB
#3 Wrong Answer Read 15, expect -5. 3ms 384.0 KiB
#4 Wrong Answer Read 5, expect -1. 2ms 384.0 KiB
#5 Wrong Answer Read 15, expect -2. 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P1050 A9-3 数组中最大的负数
语言
C++
递交时间
2022-06-29 09:16:06
评测时间
2022-06-29 09:16:06
评测机
分数
20
总耗时
19ms
峰值内存
384.0 KiB