• Two: check to see if this is the answer, if this is the thing I'm looking for.

    是否是我们要找的元素,接着,如果不是。

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

  • So I help check people in the class, answer their membership questions, sell memberships, all of that, and

    我负责帮助核对上课人数,回答会员问题,销售会籍等,

    上东区的瑜伽老师 - SpeakingMax英语口语达人

  • And I won't ask you to check whether it got the right answer.

    我不用你算这到底,是不是正确的答案。

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

  • It says, well I'm going to print out first and last just so you can see it, and then I say, gee 2 if last minus first is less than 2, that is, if there's no more than two elements left in the list, then I can just check those two elements and return the answer.

    然后它计算了尾点和开始点的差,如果小于2的话,也就是说数组中的元素小于等于,我对这两个元素进行比较,然后返回结果就可以了,否则的话,我们就去寻找中值点,注意它是怎么实现的,首先这个指向一个列表的开头。

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

  • It says while the index is smaller than the size - of the list, I'm not at the end of the list and I don't have an answer yet, check.

    当然是如果我还没检索到目标数的话,因此我会去看看是不是,这里真的看不情。

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

  • And that idea was, we make a guess in the middle, we test it so this is kind of a guess and check, and if the answer was too big, then we knew that we should be looking over here. If it was too small, we knew we should be looking over here, and then we would repeat.

    这些有理数是有序排列的,然后我们的想法是,首先在中间取个数作为猜想数,然后对这个猜想数进行验证,如果由猜想数得到的答案太大,我们知道应该跳过,比猜想数大的那个区间,如果太小的话。

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

  • All right, we're-- well actually, I should say that better, we first check to see, is x 0 greater than or equal to zero, if it's not, then we come down here and we print something out, otherwise we run through a little loop to get the answer, and then we check it and we spit something out.

    然后我们运行一个小循环,好了,我们现在来看看,如果x≥0或者x<,我们看这儿,我们会输出一些内容,或者我们运行一个小循环来获取答案,然后我们检验一下,然后得到结果。

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

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

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

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