100 atcoder#ABC193A. [ABC193A] Discount
[ABC193A] Discount
Score : points
Problem Statement
A shop sells a product whose regular price is yen (Japanese currency) for yen. By what percentage of the regular price is this product discounted?
Constraints
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer as a decimal. Your answer will be judged as correct when its absolute or relative error from our answer is at most .
100 80
20.0
If a product whose regular price is yen is sold for yen, it is discounted by percent of the regular price.
7 6
14.285714285714285714
99999 99998
0.00100001000010000100