练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 and as the numerator and denominator, respectively, calculate the floating-point value of the fraction (as a double-precision floating-point number, rounded to 9 decimal places).
Input Format
Input consists of a single line with two integers and .
Output Format
Output a single line with the floating-point value of the fraction (as a double-precision floating-point number, rounded to 9 decimal places).
Sample
5 70.714285714
20251018A班作业(3)
- Status
- Done
- Problem
- 4
- Open Since
- 2025-10-19 0:00
- Deadline
- 2025-10-26 23:59
- Extension
- 24 hour(s)