• And so he said, if you start off with a male and a female, at the end of one month they have an offspring. Let's assume they have two offspring. At the end of the next month let's assume those offspring have offspring. Again a male and female.

    在13世纪的时候想要计算兔子的数量,就是一个月大的兔子,再过一个月就可以进行交配,所以它说如果你一开始有一公一母两只兔子,在一个月末它们就可以生小兔子,让我们假设它们生了两只小兔子。

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

  • But then as, you know, you're in the last couple of months of project or last month,

    但是你知道,在一个项目的最后几个月或者月末

    电脑图片的魅力 - SpeakingMax英语口语达人

  • The question was how many rabbits do you have at the end of a year? At the end of two years? At the end of more than that number of years, and so. We can do this with the following level definition. We're going to let pairs of 0, the number of pairs at month 0, actually it would not be it would be 1.

    在下一个月末的时候让我们假设,这2只小兔子也有了后代,同样是一公一母,问题是一年后你会有多少只小兔子?,两年后呢?更多年后呢?,我们可以用接下来的等级说明来解释,在第0个月有0对兔子。

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

  • Notice if I'm going to have two different sub problems I need to have two base cases here to catch this. And if I only had one it would error out. And as a consequence, I can go off and ask about rabbits. Let's see.

    我需要定义两个基础事件来处理它,如果我只有一个基础事件的话就会产生错误,这样我就能够知道到底有多少只兔子了,让我们来看看,在第12个月末,没那么简单,在第二年末兔子就很多了。

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

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

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

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