#PCBSAU0000026. Xuất k chữ số thập phân (Print K Decimal Places)
Xuất k chữ số thập phân (Print K Decimal Places)
Print K Decimal Places
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given a real and integer , print with exactly fractional digits.
Input
One line containing and , separated by whitespace.
Output
Print exactly digits after the decimal point.
Subtask
- Subtask 1 — 100 points: , is a multiple of ; .
Example
Input
3.125 3
Output
3.125
Explanation
selects the dynamic .3f format and prints 3.125.