世界大赛逐场下注复制
World Series
题目详情
红袜队与洛矶队打 7 局 4 胜制系列赛。你想做一个“全押系列赛”的双倍或归零下注:
- 若红袜最终赢系列赛,你净赚 +100;
- 若红袜最终输系列赛,你净亏 -100。
但你不能直接押系列赛结果,只能每场比赛单独下注。如何选择每场下注金额,使得最终实现上述净收益?
The Boston Red Sox are playing the Colorado Rockies in a best-of-7 World Series (first team to win 4 games). You have $100 on the Red Sox in a double-or-nothing bet (win +100 or lose -100). But you cannot bet on the entire series outcome directly; you can only place bets on each individual game. How do you choose the amount to bet on each game so that, if the Red Sox eventually win the series, you net exactly +100, and if they lose, you net exactly -100?
解析
用动态规划/二叉树回溯。
设状态 表示红袜已赢 场、洛矶已赢 场。设 表示此时你希望“净值”是多少。
在吸收态:
- 红袜到 4 胜:;
- 洛矶到 4 胜:。
从 往下一场下注 :
- 红袜赢则到 ,净值变为 ;
- 红袜输则到 ,净值变为 。
因此有
从终局向前回溯即可得到每个状态下的 与下注额 。例如 :
Original Explanation
Let denote the state where the Red Sox have wins and the Rockies have wins. Let be your current net amount of money. At absorption:
- If Red Sox have 4 wins , you want .
- If Rockies have 4 wins , you want .
From state , you bet on the next game for the Red Sox. If they win, new state and your net changes by . If they lose, new state and your net changes by . Thus,
By working backward from the final states, you find the unique and bets . Example:
- .
- The bet at is .
You can fill out the entire table or a binomial tree to get the bets and net amounts.