5 条题解
- 
  2
12209水宇辰 (12209水宇辰) LV 9 @ 2021-11-12 16:24:22
#include<iostream>
#include<iomanip>
#include<cmath>
#include<stdio.h>
using namespace std;
int main()
{
float r1,r2,R;
scanf("%f%f",&r1,&r2);
R=1/(1/r1+1/r2);
printf("%.2f\n",R);
return 0;
} - 
  -2@ 2021-11-21 21:29:21
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
float r1,r2,R;
cin>>r1>>r2;
R=1/(1/r1+1/r2);
cout<<fixed<<setprecision(2)<<R;
return 0;
} - 
  -2@ 2021-11-19 16:18:33
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
float r1,r2,R;
cin>>r1>>r2;
R=1/(1/r1 + 1/r2);
cout<<fixed<<setprecision(2)<<R<<endl;
return 0;
} - 
  -4@ 2021-12-27 09:47:42
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
float r1,r2,R;
cin>>r1>>r2;
R=1/(1/r1 + 1/r2);
cout<<fixed<<setprecision(2)<<R<<endl;
return 0;
} - 
  -4@ 2021-12-13 20:25:23
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
float r1,r2,R;
cin>>r1>>r2;
R=1/(1/r1+1/r2);
cout<<fixed<<setprecision(2)<<R;
return 0;
}//注:这题只能用float 
- 1
 
信息
- ID
 - 2319
 - 难度
 - 5
 - 分类
 - (无)
 - 标签
 - 递交数
 - 317
 - 已通过
 - 118
 - 通过率
 - 37%
 - 被复制
 - 3
 - 上传者