计算分数的浮点数值
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
【题目描述】
两个整数a和b分别作为分子和分母,既分数a/b,求它的浮点数值(双精度浮点数,保留小数点后9位)。
【输入】
输入仅一行,包括两个整数a和b。
【输出】
输出也仅一行,分数 a/b 的浮点数值(双精度浮点数,保留小数点后9位)。
【输入样例】
5 7
【输出样例】
0.714285714
【来源】
一本通在线评测
ZBC002(Zjc Beginner Contest002)(张锦程初学者竞赛002)
- Status
- Done
- Rule
- Ledo
- Problem
- 10
- Start at
- 2024-12-14 0:00
- End at
- 2024-12-21 0:00
- Duration
- 168 hour(s)
- Host
- Partic.
- 5