网站介绍:文章浏览阅读206次。把 n 个骰子扔在地上,求点数和为 s 的概率。Input: n = 1Output: [[1, 0.17], [2, 0.17], [3, 0.17], [4, 0.17], [5, 0.17], [6, 0.17]]Explanation: Throw a dice, the sum of the numbers facing up may be 1, 2, 3, 4, 5, 6, ...
- 链接地址:https://blog.csdn.net/ritagreen123/article/details/97301837
- 链接标题:剑指 offer第60题-n 个骰子的点数-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8413
- 网站标签:剑指 offer第60题-n 个骰子的点数