시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 1024 MB | 1214 | 394 | 322 | 35.897% |
You are given three integers a, b, c (1 ≤ a, b, c ≤ 109). Compute a⋅b/c, with an absolute precision of 10−6.
The first and only line of input contains the three integers a, b, c separated by a single space.
Output a single floating point number. It must differ from a⋅b/c by at most 10−6 in absolute value, i.e., it should obey |x−a⋅b/c| ≤ 10−6.
3 5 7
2.142857142857142857
9999 9876 1
98750124
123456789 987654321 1
121932631112635269.000000000000000000
123456789 987654321 7
17418947301805038.428571428571428571
Olympiad > Baltic Olympiad in Informatics > BOI 2018 PA번