Once each time. Right? I only do one swap potentially, it-- though not one potentially, each time at the end of the loop I do a swap.
每次循环做一次,对么?我其实,就可能做了一次交换,也许并不是可能,每次循环的结束我都得做一次交换。
At any one time, there's about, I think, 50 or 60 different productions in the West End here in London.
任何时候,我想想,大概都有50或者60部不同的成品剧在伦敦西区上演。
So what would I want to do? I'd like to somehow walk down each of the digits one at a time and add them up. Ah, that's a looping mechanism, right? I need to have some way of walking through them.
去取这个数的,每个数字然后把他们加起来,啊,这是个循环机制对不对?,我得找到一个遍历它们的方法,一种简单的方法可能。
Oh, there's a man at the store and now we have a loop where he is just looking through my inventory one at a time and reciting what it is I actually picked up.
商店里有一个人,现在我们有一个循环,通过这个循环他可以看到我的库存,然后显示出来我实际上都采摘了哪些水果。
So before we leave coordination games, I want to look at another one, a little bit more complicated one perhaps, that we mentioned briefly last time.
在我们结束讲解协调博弈前,我们再来看一个,稍微复杂点的问题,上一讲我简单提到过的
Next time reread for the third time - you will be repaid by your dedication - Books One and Two, this time focusing on the similes. Also, as I mentioned at the beginning of class, read the essays by Stanley Fish and Geoffrey Hartman.
下次再把这两册书读一遍,你们的付出终将得到回报,第一二册书,这次的重点在明喻上,同时,正如我在课的一开始提到的,看斯坦利·费什和杰弗里·哈特曼写的文章。
Because, as I said, you can only drive one car at a time and if you've got ten of them in the garage, then it doesn't really do you much good.
正如我说的,你只能一次开一辆车,但如果你的车库里有十辆,它实际上并不会给你带来更多的好处
And he says this about his own little research: "I shall not hesitate to put down for you with my interpretations whatsoever things I well learned at one time from the Presbyters," just meaning the old guys,elders,"and well remembered, confidently asserting truthfulness for them.
对于他自己的研究,他这样说:,“我会毫不犹豫地写下,我曾经从长老那里学到和记住的,一切东西,而且加上我的诠释“,长老指长者,前辈,“并自信地肯定他们的真实性。
and I love Riverside Park. At one time, they were trying to close it,
我非常喜欢河滨公园。
I went there for a barbecue at my professor's home one time.
有一次,我到我教授位于河谷的家里吃烧烤。
In fact, one time, I was at a play in Central Park.
有一次我在中央公园演话剧,
I think you can tell by analogy with what I did in one dimension that the position of that object at any time t is going to be the initial position plus velocity times t plus one half a t square.
你们可以类比一下我在一维情况下的结论,这个物体在任意时刻 t 的位移,等于初始位移,加上 v ? t + 1/2 ? a ? t^2
In Python, it'll find it, I think one bug at a time, right John?
在Python中,它会找到它的,我觉得一回能找一个漏洞,对么John?
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?
我只能做线性搜索了,一次遍历一遍列表,一个一个比较,但如果我想要,那怎样得到有序的列表呢?,现在的一个问题是,我们排序之前?
D-A-V-I-D Well, if I've got a five-letter word like D-A-V-I-D, well, that's like five bytes and yet we only have the ability thus far in this class to return one thing at a time I can't return five bytes to you, but wait a minute, those bytes by nature of a computer are just stored in RAM.
好的,如果有5个字母的单词,如,那是5个字节,我们只能返回一个东西,而不能返回5个字节,等一下,这些字节被计算机本能地,存储在内存中。
I remember one time I was talking to our CEO and he said, you know maybe we should pay at least one dividend because our employees are forgetting that they own these shares.
有一次我跟首席执行官谈起这事,他说,也许我们应该至少付一次股利,员工们都快忘了他们有股份这事儿了
You can only drive one car at a time and if you have five cars-- well I mean that's kind of-- all right you could have five cars and you could drive a different one everyday, but it's starting to seem a little ridiculous, right?
你只能一次开一辆车,而且如果你有五辆车,我的意思是那种...,好吧,你能有五辆车,而且你可以每天开不同的车,但是这有点荒谬,不是吗
printf Well, notice I'm calling print F with percent C, and then I'm printing out each of these letters one at a time.
好的,请注意我用%c来调用,然后我打印出一个一个打印出这些字符。
应用推荐