#E. 练10.3 计算浮点数相除的余

    Type: Default 1000ms 128MiB

练10.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.

说明

计算两个双精度浮点数aabb的相除的余数,aabb都是双精度浮点数。这里余数(rr)的定义是:a=k×b+ra=k×b+r,其中kk是整数,0r<b0≤ r < b

输入格式

输入仅一行,包括两个双精度浮点数aabb

输出格式

输出也仅一行,a÷ba÷b的余数。

样例

73.263 0.9973
0.4601

题目

Not Attended
Status
Done
Rule
Ledo
Problem
5
Start at
2024-3-29 15:00
End at
2024-3-29 15:30
Duration
0.5 hour(s)
Host
Partic.
4