atcoder#RELAYA. 合成抵抗
合成抵抗
Score : points
Problem Statement
In an electric circuit, when two resistors and are connected in parallel, the equivalent resistance can be derived from the following formula:
Given and , find .
Constraints
- and are integers.
Input
The input is given from Standard Input in the following format:
Output
Print the value of .
The output is considered correct if the absolute or relative error is at most .
2 3
1.2000000000
100 99
49.7487437186