#A7. 运气比
运气比
比比学了比, 回去买了笔。 还有隐藏款, 概率几比几?
输入种,概率 输出中奖比(化简)
3
1:2:3
1:6
比比学了比, 回去买了笔。 还有隐藏款, 概率几比几?
输入n种,概率a1:a2:...:an 输出a1中奖比(化简)
3
1:2:3
1:6
By signing up a acjudge universal account, you can submit code and join discussions in all online judging services provided by us.