Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:17: warning: 'a' is used uninitialized [-Wuninitialized]
    5 |         cout<<a+b<<endl;
      |                 ^
foo.cc:4:15: note: 'a' was declared here
    4 |         int b,a;
      |               ^
foo.cc:5:17: warning: 'b' is used uninitialized [-Wuninitialized]
    5 |         cout<<a+b<<endl;
      |                 ^
foo.cc:4:13: note: 'b' was declared here
    4 |         int b,a;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 3. 5ms 412.0 KiB
#2 Wrong Answer Read 0, expect 1222222221. 4ms 284.0 KiB
#3 Wrong Answer Read 0, expect -110223122. 3ms 284.0 KiB
#4 Wrong Answer Read 0, expect 1000888887. 3ms 356.0 KiB

信息

递交者
类型
递交
题目
P2310 1.3.1:A+B问题
语言
C++
递交时间
2023-10-14 22:35:48
评测时间
2023-10-14 22:35:48
评测机
分数
0
总耗时
17ms
峰值内存
412.0 KiB