0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-18 21:31:59 +00:00
OI-codes/Luogu/B2015/B2015.cpp

11 lines
188 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
double r1, r2;
cin >> r1 >> r2;
cout << fixed << setprecision(2) << 1 / (1 / r1 + 1 / r2) << endl;
return 0;
}