What happens now after we've executed this third line of code, what happens next in the story?
我执行完第三行代码会发生什么呢,在这之后会发生什么呢?
I want to sit at the table with the CEO, with the CFO, with all the, you know, major decision makers.
我希望能够与首席执行官,首席财务官,以及所有主要的决策者并肩而行。
So notice the nesting, I can flow my way through how those tests are actually going to take place.
请注意嵌套,我可以跳过,其中不执行一些语句。
So now, henceforth, when you say, to declare a function, I am declaring a function here but down here am I quote unquote defining it or implementing it.
从此以后,当你说,声明一个函数,我在这里声明了一个函数,但是到这里我定义它或执行它。
I knew what his priorities were well enough that I view myself as basically the implementor of the president's own influence.
我也很了解,他的首要任务是什么,所以我把自己看作是,基本上是总统影响力的,执行者。
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.
有一次我跟首席执行官谈起这事,他说,也许我们应该至少付一次股利,员工们都快忘了他们有股份这事儿了
I'm now the CEO of Google.
现在,我是谷歌公司的首席执行官。
It's not me. I'm just an instrument of somebody else telling me what to do.
不是我的责任,我只是一个工具,我只是执行别人的命令。
So your position may be not believed, and I want to claim that that's connected to the idea that you can't commit yourself to your policies.
也就是说选民未必相信你的立场,我要指出的是这与,你无法执行相应政治策略是相关的
And I'm executive producer of Star Festival.
我是“七夕“项目的执行制片人。
But now I've had my fill of both and I can spend my later years, the twilight of my life, turning to the things about the gods, " performing sacrifices commanded by the gods."
但现在我已两者尽得,我可以在剩下的光阴,我的残年,转向服伺众神,执行众神所指示的祭典“
And I was wondering just by way of introduction how do you think that conversation is best carried out, how does the office of campus life and it includes civic engagement, it includes athletics, it includes healthiness, -Yes.
仅为介绍之便,我想问您,您认为怎样才可以最好地执行这种对话?,而且校园生活牵涉了很多部门,这包括公民参与部,包括体育部门,包括卫生部门,-是的。
So I think the dorm policies are less of a... less enforcement
所以我觉得宿舍的一些政策执行效果不怎么严格。
And then otherwise, I researched them online. I researched their CEO.
另外,当时我也在网上搜了他们的资料,查了查他们的首席执行官。
What that means, in a stored-program computer, is that I can provide to the computer a sequence of instructions describing the process I want it to execute.
它的意思就是说,我可以给一个存储程序计算机,提供一系列,描述我希望,能执行的过程的指令。
So let me expand on that very slightly, and again we did this last time but I want to do one more time. I have to be careful about how I'm actually implementing a list.
我们之前做过了一次,但还是再做一次吧,我得小心的在列表中执行,例如在这个例子中。
I'm not wasting time typing out arguments and implementing more complicated function.
我不会在浪费时间在打印输出参数上,我执行了更复杂的程序。
So what we've seen is I've run it twice here.
我们现在看到的就是,我执行了这条打印语句两次。
How many times do I go through the loop?
那我执行了多少次循环呢?
Sorry? OK. You're doing the whole thing for me What's the complexity just of this inner loop m How many times do I go through that loop?
就这一块代码的,我执行了多少次这个循环?,次对不对?,here?,Just,this,piece。,我一会儿就会去得到你的答案的?
OK. Having done this now, I can simply go ahead and run this, and in fact if I go up here to run, you'll see I've got both an option to check the module, though in this case I'm just going to run it.
好,讲完了这些,我可以去执行程序了,实际上如果我在这里运行,你们会看到我同样得到了,一个可以同时检查模块的选项,虽然在这个例子中我就是直接去运行程序了。
So what we would see, I'm going to completely fake this, is a program that operates like that.
所以我们会看到,我要完全掩盖这一点,就好像程序真的是那样执行的。
I'm the CEO of Google and I call the broker and I say, how many shares are outstanding?
如果我是谷歌的执行总裁,我给经纪人打电话问,一共发行了多少股票
In my experience, decisions moved with the process of risks, mitigation like malaises When the Taliban arrived in the village, it takes 96 hours for an army commander to obtain necessary approvals to act.
以我的经验来看,决定的执行是有一定的风险的,当塔利班分子进入到村子后,一个军队指挥官要花去96个小时来获得必要的批准才能行动。
All right? So if I called sqrt alone, that return test value is done, but in this case I bound it to test, so I can go look at test, and there it is.
执行完返回值语句,但是在这里我将把它赋值给,所以当我看test的值的时候就是返回的值。
And they're awfully simple because, all I can do now, is decide whether to execute some piece of code or another.
它们之所以太简单的原因是:,现在我能做的,就是,决定执行一块代码或者执行另外一块。
If I now scroll down to the actual implementation, now does this work or not work?
如果现在我向下滚动到实际的执行中,这个是可用的还是不可用的呢?
And here's a little trick -- and again, we promised to point -- out little tricks of the trade -- if I know I want to execute the last command I typed that started with an m, bangm will actually figure out what that command was and redo it for me so I don't have to figure it out, or you can go back in time in a terminal window.
这里有个小技巧--此外,我们许诺指出行业中的,一些小技巧-,如果我知道我想执行我写入的上一个命令,是以m开头的,!m会明白那个命令是什么,然后为我恢复上次操作,所以我不需要明白它,或者你可以回到,那个终端窗口。
b times. So I've got to go 3 b steps. All right I've got to go through the loop b times I've got three steps each time, and then when I pop out of the loop, I've got two more steps. All right I've got the initiation of answer and the return of it.
好,我一共执行了b次循环,每次循环内部进行了三次基本操作,当跳出循环后还有两个基本操作,因此这个初始的答案就是,2+3b次基本操作,来完成这个循环。
应用推荐