涂格子1
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.
题目描述
有n个格子,每次您可以随机选择一个格子进行涂色。求涂满m 个格子的期望涂色次数。
输入格式
两个数 和。
输出格式
一个浮点数,表示涂满m个格子的期望涂色次数,误差不超过。
5 5
11.4166666667
10 3
3.3611111111
数据规模与约定
对于 的数据,