Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:37: warning: 'r1' is used uninitialized in this function [-Wuninitialized]
    7 |  cout<<fixed<<setprecision(2)<< 1/(1/r1 + 1/r2)<<endl;
      |                                    ~^~~
foo.cc:7:44: warning: 'r2' is used uninitialized in this function [-Wuninitialized]
    7 |  cout<<fixed<<setprecision(2)<< 1/(1/r1 + 1/r2)<<endl;
      |                                           ~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.00, expect 0.67. 3ms 384.0 KiB
#2 Wrong Answer Read 0.00, expect 2569.22. 3ms 384.0 KiB
#3 Wrong Answer Read 0.00, expect 999998175051776.00. 2ms 384.0 KiB
#4 Wrong Answer Read 0.00, expect 8888888852480.00. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P2319 1.3.10:计算并联电阻的阻值
比赛
2022.5复学庆祝赛(初一)
语言
C++
递交时间
2022-05-14 10:37:20
评测时间
2022-05-14 10:37:20
评测机
分数
0
总耗时
12ms
峰值内存
384.0 KiB