mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-12 02:26:26 +00:00
11 lines
188 B
C++
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;
|
|
}
|