计算浮点数相除的余
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的相除的余数,和都是双精度浮点数。这里余数的定义是:,其中是整数,
【输入】
输入仅一行,包括两个双精度浮点数和。
【输出】
输出也仅一行,的余数。
【输入样例】
73.263 0.9973
【输出样例】
0.4601
【来源】
一本通在线评测
C23本部暑期夏令营测试
- Status
- Done
- Rule
- IOI
- Problem
- 7
- Start at
- 2023-7-15 16:20
- End at
- 2023-7-15 17:56
- Duration
- 1.6 hour(s)
- Host
- Partic.
- 40