#PCBSAU0000032. Không làm tròn quá sớm (Do Not Round Too Early)
Không làm tròn quá sớm (Do Not Round Too Early)
Do Not Round Too Early
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given real numbers where is nonzero, compute . Round only when printing exactly two decimal places, not before multiplication.
Input
One line containing , , .
Output
Print with exactly two fractional digits.
Subtask
- Subtask 1 — 100 points: ; ; all three are integer-valued real inputs.
Example
Input
1 3 3
Output
1.00
Explanation
; multiply by 3 before formatting to obtain 1.0 and print 1.00. Early rounding to 0.33 would give 0.99.