i If I'm going to keep that item, item i, if I'm going to take it, I give it a 1.
如果我想要保留这个物品,如果我打算带走它。
Ok, double line. If there are no questions I'm going to make a dramatic change in topic.
好的,这是重点,如果没什么问题,我要讲下面的内容。
I wish it didn't say "exit," but it does say "exit," because that kind of weakens my point, but over many auditorium doors a red light just hangs there.
如果这些灯上没有注明出口就好了“,因为这样会削弱我要证明的观点,礼堂的门上一般会挂着一盏红灯。
And if someone said, it's 4%, you'd say, well that's kind of meager, I want a better dividend than that.
如果他说,是4%,你会觉得少,我想要更高的股利
Now, if I've asked the user for a string and then a moment later I ask the user for another string, well, they're going to end up in different locations in memory just by nature of get string.
现在,如果我要用户输入一个字符串,一会儿之后我要用户输入另一个字符串,他们最终是在,不同的内存地址中。
And I think you will wish you are continuing to make the investment in time. If you are down here, what I want you to do is talk to somebody.
我想你希望再接再厉,保持花在这么门课上的时间,如果你退步了,我要你做的就是和某人交谈。
So if I try to rotate my 2 atoms, you see that I have to break that pi bond, because they need to be lined up so that the electron density can overlap.
如果我要试着转动两个原子,你会看到我必须要打破一个π键,因为他们需要连接起来,让那些电子能够重叠。
When I say, "Oh, I'm about to torture Linda " over there." "No, no, don't torture Linda."
如果我说,“哦,我要去折磨琳达了,你可能说,“不,不要折磨琳达“
What do I want to do if the other guy is pricing above costs?
如果对手定价比成本高,我要怎么做
Now, if we have any doubts that On the Road is mythic in itself, I just want to show you quickly two things. In 2007, On the Road had its fiftieth anniversary of publication.
现在如果还有对这本小说虚构性有所疑问,我想要迅速地让向你们展示两件事情,2007年是《在路上》出版的十五周年。
So, what I'd like people to do If you're sitting next to somebody, please turn around and find someone next to you and look at them.
所以,我想要大家做,如果你坐在某人旁边,请你转身,找到你旁边的人,看着他。
I'm really liberal, but this disturbs me because I am looking at you, I'm trying to see from your reaction how much of my lecture you are following, and then it's very distracting when people are talking.
很无所谓的,但是我很不喜欢有人说话,因为我正看着你,我要根据你的反应来判断,我的课你听懂了多少,但是如果有人说话的话,就会让大家分神
If I want to clone a gene from a human, if I want to clone the gene for human isulin, mean make many copies of the gene that's responsible for making insulin, I need to know whether there are introns there or not.
如果我想要从一个人类个体克隆基因,如果我想要克隆人类胰岛素基因,亦即我要把负责生成胰岛素的基因,复制许多个副本,我就得要知道哪些是内含子,哪些不是
Notice one last piece. If I'm going to do that, run through all possible answers, I still want to know, gee, what if there aren't any answers? How do I return that case?
注意最后一段,如果我要这样做,也就是运行所有可能的答案,我还是想知道要是没有结果呢?,在这个例子中应该返回什么呢?
First, it's pointing to the beginning of the list, which initially might be down here at but after a while, might be part way through. And to that, I simply add a halfway point, and then I check.
列表中间的一个部分了,然后我求出列表的中值点,然后看看该点的值是不是等于目标值,如果是的话就完成了,如果不是的话,如果中位值大于我要找的目标值。
So each of these cups again have different weights if I want to find the lightest of them I might start not knowing which is which.
它们的重量互不相同,如果我要,找出最轻的一个,而我根本不知道会是,哪一个。
If you want the book, that's the book I use.
如果你想要买,这就是我要用的书。
If I buy this amount of two-period bonds, how much does it cost me?
如果我买这么多两年期债券,我要花多少钱呢
Still, if I were say to you, "I'm about to torture you." You say, "No, no, don't torture me." And it'll be some extra little something when you said that.
如果我对你说,“我要折磨你了“,你会说,“不,不要折磨我“你这么说的时候,心里肯定会有微妙的想法。
So, I want to contrast that with another concept that seemed to be opposing ideas, and that is thinking about not how far away the most probable radius is, but thinking about how close an electron can get to the nucleus if it's actually in that orbital.
我要将它和另外一个,看起来相反的概念相比较,我们不是考虑,最可能半径离原子核有多远,而是考虑如果电子在那个轨道上,能多接近原子核。
So if Pepsi is dumb enough to price above monopoly, sure I will undercut Pepsi but I won't undercut Pepsi by a penny, I'll undercut Pepsi all the way down to the monopoly price and make monopoly profits.
如果百事笨到把价格设的高于垄断价格,我当然要定价比百事低,但不是低一点,我要把价格设得比百事低直至垄断价格,并获取垄断收益
Because I could've built that in, it says if you change the value of this thing, by the way you need to change recompute those other values in order to make this hold up.
我想要大家通过定义好的方法,来改变实例的值了,因为我可以把这个功能,内置到方法里面去,它的意思就是如果,你改变一个值。
I just want to remind you, if I wanted to, for example, type in an expression like that, notice the syntactical form, it's an expression, a number, followed by an operand, followed by another expression.
我想要提醒下大家,如果你想要,例如,输入一个这样的表达式,注意语法形式,这是个表达式,一个数字,后面是一个运算对象,后面是另外一个表达式。
He has it exactly right. OK? Is this smaller than that? No. Now that's a slight lie.
不,这是一个小谎言,抱歉,是一个小错误,如果我要这么说。
So strings also support things like selection, slicing, and a set of other parameters, other properties. And let's just look at that.
如果我要到这里来的话,就得把这儿注释掉,这里是我已经建立的。
Well let's see. My fall back is, I could just do linear search, walk down the list one at a time, just comparing those things. OK. So that's sort of my base. But what if I wanted, you know, how do I want to get to that sorted list? All right?
我只能做线性搜索了,一次遍历一遍列表,一个一个比较,但如果我想要,那怎样得到有序的列表呢?,现在的一个问题是,我们排序之前?
It could be two or three times.
恩,等一等,如果我想要排序一个列表。
And remind you that inside of here, I'd better be changing the variable. All right, if that variable that's counting is not changing I'm going to be stuck in an infinite loop, so I ought to that, right, expect somewhere in there, a change of that variable. All right?
我最好改变了计数器的变量值,好,如果计数的变量没有变化的话,我就会被卡在一个无限循环里面,因此我应该【不可闻的声音】,对,在这里的某个地方,改变下计数器的变量,对不对?我要做的最后一件事情就是?
I think the easiest way to look at what this does, is let's take a really simple example- I want to make sure I put the right things out- I've got a simple little list of values there.
到底做了什么,就是让它跑一个简单的例子,我想要确信我找到了正确的元素-,这里我用一个简单的小的列表-,如果我去代码里面看。
and I asked you to give yourself a percentage rating relative to the rest of the class, then if everybody was accurate, or at least not systematically biased, the number should add up to 50%.
我要你相比于其他同学的表现,给自己一个百分数,如果大家都准确地评价自己,或者说大家都不偏心于自己,那么平均百分数应该是50%的。
应用推荐