Wrong Answer

foo.cc: In function 'int main()':
foo.cc:17:6: warning: 'x3' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int sum=x1+x2+x3;
      ^~~
foo.cc:18:21: warning: 'x2' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<x1<<" "<<x2<<" "<<x3<<" "<<sum<<endl;
                     ^~~
foo.cc:18:12: warning: 'x1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<x1<<" "<<x2<<" "<<x3<<" "<<sum<<endl;
            ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1957518668, expect 4. 2ms 404.0 KiB
#2 Wrong Answer Read -794284913, expect 15. 1ms 404.0 KiB
#3 Wrong Answer Read -119404791, expect 153. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P2357 1.5.7:奥运奖牌计数
语言
C++
递交时间
2021-08-24 14:16:59
评测时间
2021-08-24 14:16:59
评测机
分数
0
总耗时
6ms
峰值内存
404.0 KiB