delete pics to save space
This commit is contained in:
10
history_source/信息学奥赛一本通/1.2.3.5.cpp
Normal file
10
history_source/信息学奥赛一本通/1.2.3.5.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include<cstdio>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
double r1,r2;
|
||||
scanf("%lf%lf",&r1,&r2);
|
||||
double ans=1.0/(1.0/r1+1.0/r2);
|
||||
printf("%.2lf\n",ans);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user