"Our country's too big, too complicated, too decentralized for Washington, a few of us here, just to write a few rules about remaking seventeen percent of the economy all at once."
VOA: special.2010.02.27
Once you hear that description, it's easy to write the code, in fact. This is a place where the recursive version of it is much easier to think about than the iterative one.
实际上一旦你听到了大致描述,就能很轻松的写出代码来,在这一点上应用递归来解决问题,比用迭代要容易理解多了。
So here's the straight line, and this line is the expected payoff to Player I from choosing Down as it depends on the probability that the other person chooses Right, and then once again, we can write down the equation.
这就是第三条直线了,它表示参与人I选择下获得的收益,是另一个参与人,选右概率的一个函数,对于这一条直线,我们依然能够给出方程式
应用推荐