#PCBBAY0000046. Kilomet sang mét (Kilometres to Metres)
Kilomet sang mét (Kilometres to Metres)
Kilometres to Metres
Version: Phuoc Hung OJ Extended
Problem Statement
Given a distance in kilometres, convert it to metres using , since one kilometre equals 1000 metres. Print the result with exactly 2 decimal places.
Input
The only line contains real distance measured in kilometres.
Output
Print the converted distance in metres with exactly 2 decimal places.
Subtasks
- Subtask 1 (100 points): .
Examples
Example 1
Input
1.5
Output
1500.00
Explanation. Substituting 1.5 into km × 1000 gives approximately 1500. The required output formatting produces 1500.00.
Example 2
Input
0
Output
0.00
Explanation. Substituting 0 into km × 1000 gives approximately 0. The required output formatting produces 0.00.
Example 3
Input
12.345
Output
12345.00
Explanation. Substituting 12.345 into km × 1000 gives approximately 12345. The required output formatting produces 12345.00.