摘要:
题目: class Solution { public: vector<double> dicesProbability(int n) { vector<double> dp(6, 1.0/6.0); //dp[j]表示和为j时的概率,这里j=6是因为这是第一个骰子,骰子增多j也会改变 for(in 阅读全文
posted @ 2023-08-29 22:20
孜孜不倦fly
阅读(14)
评论(0)
推荐(0)
摘要:
题目:  ``` class Solution { public: int nthUglyNumber(int n) 阅读全文
posted @ 2023-08-29 21:00
孜孜不倦fly
阅读(12)
评论(0)
推荐(0)
浙公网安备 33010602011771号