#F. 计算分数的浮点数值

    Type: Default 1000ms 256MiB

计算分数的浮点数值

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.

【题目描述】

两个整数 aabb 分别作为分子和分母,即分数 ab\frac{a}{b},求它的浮点数值(双精度浮点数,保留小数点后 99 位)。

【输入】

输入仅一行,包括两个整数 aabb

【输出】

输出也仅一行,分数 ab\frac{a}{b} 的浮点数值(双精度浮点数,保留小数点后 99 位)。

【输入样例】

5 7

【输出样例】

0.714285714

【来源】

一本通在线评测

初一B随堂作业

Not Attended
Status
Done
Rule
IOI
Problem
8
Start at
2025-9-12 10:15
End at
2025-9-12 12:15
Duration
2 hour(s)
Host
Partic.
24