So I think if they get something done it will be more appealing to the moderate Democrats than to the liberals."
VOA: standard.2009.09.28
Well, I'm going to get back, let's just draw a bigger square than usual that's roughly four times the size.
嗯,返回的是,我画一个更大的方形,大致上是4倍的大小。
and push myself a little bit further than I went the day before and try to get in shape.
并且让自己总比头一天跑得远些,并且努力保持身材。
"But I hope people will equally understand that it will be better to get the decision right rather than rushing into something that will not stand the test of time."
VOA: standard.2010.05.10
OK. So, soon as I get down to a list that has no more than two elements in it, I'm done.
不超过2个元素的列表,那就结束了,注意,这里是小于等于。
I don't want to get-- I'm going to get more controversial than I want to.
我不想…,我不想又引起争论了。
And once I know that she's going to choose Alpha, it's clear that I should choose Alpha and get 0 rather than Beta and get -3. So I should choose Alpha also.
一旦我意识到她会选α的时候,很显然我应该也选α来得到0单位效用,而不是选β只得到-3,所以我也选α
And we now have far more initiatives, Many more than I have shown you in this brief Presentation. And we've been able to get fun in to Do a wider range of things to explore different Opportunities for improving our on-campus educational Experiences for our students.
我们现在的原创性多多了,比我在这个简单的演讲里,所讲的多得多,我们也乐于在一个更宽泛的领域,探索不同的机会来提高,我们对学生的。
I can get better grades and you know, better average rather than going different uni, so.
我可以得到更好的成绩,中等偏上,比去其他大学要好。
It's taking a little longer to get there than I thought.
在路上的时间比我预想的要长。
Now, he's using a much longer sample than I did, so he's not going to get this tangency portfolio that I did.
他的样本跨度比我的要大多了,所以他得出的切线资产组合会和我的不同。
But what's even worse is I'm going to get even less than the average amount of life.
但更糟糕的是,我活得比平均寿命还要短。
If it's there, I'm done, if not, I keep walking down, and I only stop when I get to a place where the element I'm looking for is smaller than the value in the list., in which case I know the rest of this is too big and I can stop.
并且保持遍历,我只在当当前位置的数组元素,大于目标数时停止,这意味着剩下的元素都比目标元素大,但是其他的情况,我还是要遍历完整个数组。
So if I start off with a list of length n, how many times can I divide it by 2, until I get to something no more than two left?
我能够除以多少次2呢?,直到我得到的长度不超过2么?,对数次,对吧?就像刚才那位同学说的那样?
But don't worry about it, it's not, I'm just using it because it's a simpler example than the one I really want to get to, which is knapsack.
但是别担心,我讲这些是因为它比我,真正想讲的问题简单一些,我想讲的是背包问题。
But if, at any point, I get to a place in the list where the thing I'm looking for is smaller than the element in the list, I know everything else in the rest of the list has to be bigger than that, I don't have to bother looking anymore.
比当前位置数组的元素要小,我也就知道后面的数肯定,也都比我的目标数要大了,我就不用再继续进行下去了,这意味着目标数不在这个数组中,我就可以退出了。
OK, so what have I done? I just added a little bit more now. I'm now running through a pair of loops. Again notice the encapsulation, that nice abstraction going on, which is what I want. Once I get to this stage though by the way, there might be more than one solution.
我现在运行了一对循环,再一次注意这个封装,抽象得很好,这就是我想要的结果,我按这种方式走到这一步的时候,可能会有多组答案。
And keep going, until the square of one of those integers is greater than or equal to - sorry, just greater than x. OK, why am I doing that? When I get greater than x, I've gone past the place where I want to be.
如果还是比x小的话,跳到3,这么继续下去,直到一个整数的平方大于或者等于,对不起,是大于x,好,为什么我要这么做呢?,让我得到的整数的平方和。
I'm much better having an exception get handled at the time of input than to let that prop -- that value rather propagate through a whole bunch of code until eventually it hits an error 17 calls later, and you have no clue where it came from.
不是我期望的格式,这时我最好有一个异常处理,而不是让其传下去,这个值传到代码的整个分支,最终会导致一个错误17调用的发生,并且你不知道这个错误是哪里来的。
When you all go and get driver's licenses or when you did get driver's licenses you have to pay higher auto insurance premiums than I do.
等你们拿到驾驶证时,也许有些人已经拿到了,你们交的汽车保险要比我高。
In particular, if the other candidate were to choose position 1, I would get a higher share of the vote choosing 2 than I would have done if I had chosen 3.
如果对手选择立场1,我选立场2会比选立场3,得到更多的票数
It would be nice if it was less than linear, but linear is nice because then I'm going to get that n log in kind of behavior.
那么就是一个不错的算法,但是线性方案也是很好的,因为我需要做n次的log级的行为。
That's not literally true. I'm going to squeeze it a bit, I'm going to curve it a bit, so actually slightly fewer than a sixth will get straight A's, and fewer than a sixth will get C's and below.
但我可能稍微压缩下分数段,我会让分数段更有弹性,实际上略少于六分之一的人会得到A,略少于六分之一会得到C
应用推荐