But a majority don't think it is going to work in terms of being able to stop terrorists there from using Afghanistan as a terrorist base to do terrorists acts against the United States."
VOA: standard.2009.10.09
OK, and you can see that this thing ought to unwrap, it's going to keep extending out those multiplications until gets down to the base case, going to collapse them all together.
好,你可以看到这种方法,是怎么解决的,他一层层的将乘法展开一直到最底层,然后将他们一起乘起来。
it's looking first to see am I in the base case, which I'm done. If I'm not I'm just going to reduce this to a smaller computation.
注意这个计算是干什么的,它先判断我是否属于基础事件,这个我已经做过了。
Well one way you could do it is by saying 'if I have this one base pair difference then this sequence is going to be cut by a specific restriction enzyme that recognizes the sequence CTGAGGA'.
一种方法是通过考虑,"如果我有这个不同的碱基对,那该序列必然会,被特定的限制酶识别并切割,这个特定的限制酶能识别,CTGAGGA "
Need to get the base in. Second thing I want to do, I need to get the height, so I'm going to input a value for the height, also as a float, a floating point.
也就是输入底的值,第二件我想要做的,事情就是得到三角形的高,因此我会输入一个值作为三角形的高,同样也是一个浮点数。
Notice if I'm going to have two different sub problems I need to have two base cases here to catch this. And if I only had one it would error out. And as a consequence, I can go off and ask about rabbits. Let's see.
我需要定义两个基础事件来处理它,如果我只有一个基础事件的话就会产生错误,这样我就能够知道到底有多少只兔子了,让我们来看看,在第12个月末,没那么简单,在第二年末兔子就很多了。
I'm going to go there initially, so I can move this over here, so I can get the base part of that over there, I want to put that one there before I put this over here, finally I get to the point where I can move the bottom one over now I've got to be really careful to make sure that I don't cover up the bottom one in the wrong way before I get to the stage where I wish they were posts and there you go.
我要先把其他的放到多余的柱子上,然后把最底下的放到目标柱子上,我要在把除了最底下的圆盘,其他的圆盘挪过来之前,把最下面的圆盘放在这儿,因此我得出了最下面的盘子,应该如何摆放的结论,当我没得到其他盘子的正确摆放位置的时候,要很小心的确认没把错误的盘子,放在最下面的盘子上面。
And again, if I just run this, just to show that it's going to do the right thing, it says enter base, I'm obnoxious, it says oops, wasn't a float, so we'll be nice about it and I enter a height, and it prints out what I expected. I just concatenated those strings together, by the way, at the end.
我再来运行下看是不是做对了,提示输入底,噢,它提示说不是浮点数,我很高兴,然后我输入一个,浮点数作为高度显示结果和我预期的相同,顺便说一句,我只是在最后把这些字符串连接起来了。
So I'm first going to compute something base move Think of this as kind of the basis from which we'll be computing the actual move.
所以我先计算叫,的东西,called,the,base,move。,它是我们计算实际值时,用到的初值。
If I want to move this stack here, I'm going to take a stack of size n minus 1 move it to the spare spot, now I can move the base disk over, and then I'm going to move that stack of size n minus 1 to there. That's literally what I did, OK?
如果我想移动这些圆盘,我先把从n-1个圆盘1,移动到多余的柱子上去,这样我就能把最底下的圆盘放到这儿了,然后再把从n-1个圆盘放到这儿来,这就是确切的我怎么做的对不对?
应用推荐