• And if they can't answer that question, I say well, before you even run it, have an answer to that.

    如果他们没法回答这个问题的话,我会说好吧,在你运行实验之前,先回答这个问题吧。

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

  • If you can figure out why fails on three letters instead of 12, you'll be more than half way to solving the problem.

    如果你能明白为什么程序,在输入三个字母的单词的时候没法运行,你就已经解决了问题的一半了。

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

  • So the running time of the problem where the input is T of size N as expressed here formulaically, T of N, the running time of an algorithm, given an input of size N. You know what?

    因此一个输入为N的问题运行时间,在这儿的公式表示为,如果输入为N,那么此算法的运行时间,是多少呢?

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

  • It will probably quit at some point because of space issues, unless I'm writing an algorithm that is using no additional space.

    其中一个的时候,它会一直运行下去,它可能在某一处因为空间问题退出,除非我写了一个。

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

  • But the problems can grow much faster than you can get a performance boost out of the computer.

    对,电脑运行速度是很快,但是问题的规模增长的。

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

  • In fact, if I ran one of these things, it would just keep crunching away.

    我们主要来谈谈时间问题,实际上,让我运行这些东西。

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

  • That's the question we're going to try and address. If we can do this, this is good, because first of all, it removes any questions about what machine I'm running on, it's talking about fundamentally, how hard is this problem, and the second thing is, it is going to do it specifically in terms of the input. Which is one of the things that I was worried about.

    这是一个我们接下来要去,尝试和解决的问题,如果我们能做到的话会很不错,因为首先,它解决了结果可能和我,运行的计算机有关系的问题,因为这从根本了告诉了,我们这个问题的复杂度,第二件事情,就是这种方法可以依据输入的大小来计算,而这正是我最担心的地方。

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

  • 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条件,代码可能可以运行,这就是,挫折和问题产生的源头,因为你没有-,因为你的代码看起来是正确的,但是运行是错误的,那个分号的意思是,停止寻找后面相关的代码。

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

  • What I don't want your program to do is crash when that happens. Or run forever.

    当这种问题出现时程序崩溃,或者一直运行下去。

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

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

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

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