

実行時間制限: 2 sec / メモリ制限: 1024 MB
配点 : 点
問題文
明日の入学試験に合格するために、太郎くんはあと 時間の勉強をする必要があります。
幸いにも、彼は今いる世界(世界A)の 倍の速度で時間が進む世界Bへ世界跳躍(ワールドリープ)することができます。
世界Bで 時間進むと、世界Aでは 時間進みます。
世界Bで 時間勉強したとき、世界Aでは何時間進んでいるでしょうか。
制約
- 入力は全て整数である。
入力
入力は以下の形式で標準入力から与えられる。
出力
世界Aでは何時間進んでいるかを出力せよ。
なお、想定解答との絶対誤差または相対誤差が 以下であれば正解として扱われる。
入力例 1Copy
8 3
出力例 1Copy
2.6666666667
倍の速度で時間が進む世界Bで 時間勉強すると世界Aでは 時間進んでいます。
以下の絶対誤差・相対誤差が許容されることに注意してください。
入力例 2Copy
99 1
出力例 2Copy
99.0000000000
入力例 3Copy
1 100
出力例 3Copy
0.0100000000
Score : points
Problem Statement
In order to pass the entrance examination tomorrow, Taro has to study for more hours.
Fortunately, he can leap to World B where time passes times as fast as it does in our world (World A).
While hours pass in World B, hours pass in World A.
How many hours will pass in World A while Taro studies for hours in World B?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the number of hours that will pass in World A.
The output will be regarded as correct when its absolute or relative error from the judge's output is at most .
Sample Input 1Copy
8 3
Sample Output 1Copy
2.6666666667
While Taro studies for eight hours in World B where time passes three times as fast, hours will pass in World A.
Note that an absolute or relative error of at most is allowed.
Sample Input 2Copy
99 1
Sample Output 2Copy
99.0000000000
Sample Input 3Copy
1 100
Sample Output 3Copy
0.0100000000