~/algor $ cat problems/benzin-narxi
Fuel cost of a trip
Easy
1000 ms
64 MB
10%
A car uses $q$ litres of petrol per $100$ km, and $1$ litre of petrol costs $p$ soums. Find the cost $C$ (in soums) of the petrol for $s$ km:
$$C = \frac{s * q}{100} * p$$
Input
One line with three positive integers: $s$, $q$ and $p$.
Output
One number — $C$, with exactly 2 digits after the decimal point (for example, 25511.50).
Note
$1 \le s \le 10^{4}$
$1 \le q \le 30$
$1 \le p \le 2 * 10^{4}$
Examples
Input #1
250 8 12000
Output #1
240000.00
Input #2
37 7 9850
Output #2
25511.50