• Whereas in the linear case, I make it ten times bigger, it takes ten times longer to run. OK.

    它要占用原来十倍的时间去运行,我一直在说还有一件事情没有讲,这是我要强调的最后一件事。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Yeah, it's kind of simple, but it gives me an ordered list of these things, And let's run it. OK.

    让我们来运行运行吧,好,我会先去搜索一些数组中没有的元素,让我来试试,看-1在不在这个数组里。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • There is no machine yet that can do just about anything people can do in an interesting way.

    没有任何机器,能够像人类一样的去运行

    耶鲁公开课 - 心理学导论课程节选

  • If you've ever been using some program, you did something completely innocuous, pull something down from a menu, click a button, you didn't do anything wrong and yet all of a sudden the thing just starts hanging there or you get a little spinning beach ball or the hour glass or whatever it is.

    如果你之前在用一些程序,做一些无伤大雅的事情,拉下一个菜单,点击一个按钮,你没有做任何错误的事情,突然间有东西开始一直运行,或者一个沙滩上的小球旋转,或滴漏或是别的什么。

    哈佛公开课 - 计算机科学课程节选

  • It was something like a central bank but it was different essentially in that the National Banks really didn't have authority to run monetary policy.

    它像是个中央银行,但是在本质上不同,因为国家银行真的,没有什么权力运行货币政策。

    耶鲁公开课 - 金融市场课程节选

  • 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?

    注意最后一段,如果我要这样做,也就是运行所有可能的答案,我还是想知道要是没有结果呢?,在这个例子中应该返回什么呢?

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • All right? If you run it, you have a sense of the upper bound, about how much time it's going to take to do this computation, so you're not going to get surprised by something showing up.

    第一,这样做意味着没有意外了对不对?,你去运行程序,你已经大致知道运行时间的上限了,因此发生任何事情,你都不会吃惊了。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • buggy3 But if I run this thing, buggy three, they've clearly not been swapped.

    但是如果我运行它,它们显然没有交换。

    哈佛公开课 - 计算机科学课程节选

  • We're left with the central banking institutions that are now functioning without convertibility to gold.

    我们现在与那些,现如今运行没有金子转换功能,的中央银行机构打交道。

    耶鲁公开课 - 金融市场课程节选

  • And so when I run this program, nothing all that interesting happens.

    所以当我运行这个程序,没有什么会发生。

    哈佛公开课 - 计算机科学课程节选

  • I then click on the shell, rather than hitting F5, try and run it and say, it's not doing what I thought I should do.

    然后我点击了命令解释程序,而不是按F5,我运行了程序而它,并没有按照我认为的那样做。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • This code does swap the two values, A and B. However, when I run this program, something happens.

    这个代码没有交换那两个值,A和B,但是,当我运行这个程序时,有些事情发生了。

    哈佛公开课 - 计算机科学课程节选

  • Because, again, it seems simpler have a model where there's no momentum.

    因为没有momentum的话会更简单,我现在第一次运行

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So the question was, why is this return down at this level, it says, well if I ever execute out of this FOR loop, I get to the end of the FOR loop without hitting that branch that took me through the return, then and only then do I want to actually say, gee, I got to this place, there isn't any value to return, none I'm going to return none and none.

    问题是,为什么它是在这个级别上返回值呢,意思就是如果我出了这个for循环,就意味着我运行的过程中没有走到任何,带return的支路上去,这时也只有这时我才能说天呐,我终于走到这儿了,这时不会返回任何值,只会返回none和。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • So in other words, if you terminate these lines early, if you terminate the four loop early, if you terminate an if condition early with that semicolon, the code may very well work; and this is a common source -- of frustration and conundrum because you don't -- because your code looks right and yet it's misbehaving, but that semicolon means stop looking for subsequent lines of related code.

    换句话说,如果你用分号过早的终止了这些代码行,如果你过早地终止了那个for循环,如果如此,一个if条件,代码可能可以运行,这就是,挫折和问题产生的源头,因为你没有-,因为你的代码看起来是正确的,但是运行是错误的,那个分号的意思是,停止寻找后面相关的代码。

    哈佛公开课 - 计算机科学课程节选

  • If it isn't, then I'm going to go back around the loop, and notice what happens. If I get all the way around the loop, that is, all the way through that FOR loop and I never find a path that takes me through here, then the last thing I'm going to do is return a pair or a tuple with a special simple number none twice.

    如果没有,我会回到循环看看发生了什么,如果我运行了整个循环,也就是整个for循环,我仍没有找到符合条件的路径,那么我最后做的事情就是返回一对,或者一个数组的两次none值。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定