D. 练8.3 计算分数的浮点数值

    Type: Default 1000ms 128MiB

练8.3 计算分数的浮点数值

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.

Description

Given two integers aa and bb as the numerator and denominator, respectively, calculate the floating-point value of the fraction ab\dfrac{a}{b} (as a double-precision floating-point number, rounded to 9 decimal places).

Input Format

Input consists of a single line with two integers aa and bb.

Output Format

Output a single line with the floating-point value of the fraction ab\dfrac{a}{b} (as a double-precision floating-point number, rounded to 9 decimal places).

Sample

5 7
0.714285714

20251018A班作业(3)

Not Claimed
Status
Done
Problem
4
Open Since
2025-10-19 0:00
Deadline
2025-10-26 23:59
Extension
24 hour(s)