• "Fertilizers represent about 20 percent of the input costs in rice production for farmers."

    VOA: standard.2010.07.28

  • It was a complete waste of time, unless the goal in life was simply to pester the user for some input.

    刚才的时间就完全浪费了,除非那个唯一的目的,是简单地纠缠用户索要一些输入。

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

  • In the example I just wrote here, this is pretty trivial, right. OK, I'm trying to input floats.

    在我写的这个例子中,这是很微不足道的。

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

  • "In terms of diplomacy and conflict resolution, he did say that resolving the Israeli-Palestinian issue was a major input, and he immediately named Senator George Mitchell as his envoy in order to work on that particular issue,"

    VOA: standard.2009.04.24

  • Notice in this program I have not checked whether or not the user actually provided input.

    就拿这个程序说事吧,我们根本没有检查,用户到底有没有输入。

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

  • Need to get the base in. Second thing I want to do, I need to get the height, so I'm going to input a value for the height, also as a float, a floating point.

    也就是输入底的值,第二件我想要做的,事情就是得到三角形的高,因此我会输入一个值作为三角形的高,同样也是一个浮点数。

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

  • ReadFloat We'll look at it in a second. Let me sort of set the stage up for this -- suppose I want to input -- I'm sorry I want you as a user to input a floating point number.

    名字叫,我们来看一会,我先来设置下情景-,假设我想输入,抱歉,我希望你们作为用户来输入一个浮点数。

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

  • I need a contract that says, here's what I want in terms of things that you're going to take as input, to begin your part of the drama, here's what you're going to produce at the output, and the details of what they do inside are up to them.

    这些作家相互沟通进行工作呢?,我需要一封规格说明书,我需要一份合约,上面列出了我想要你做的事,这些是你要再开始时做的输入,这些是你要的输出,细节工作就取决于它们了。

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

  • That in many cases, I can gain efficiency if I'm willing to give up space. Having said that though, there may still be a problem, or there ought to be a problem that may be bugging you slightly, which is how do I guarantee that my hash function takes any input into exactly one spot in the storage space?

    普遍存在的增益和权衡,在许多的例子中,可以通过牺牲空间而得到效率方面的增加,话说回来,仍然存在一个问题,或者应该会有一个问题困扰着你,就是我如何保证我的哈希函数能够准确将,任一输入映射到相应的唯一的存贮空间中去?

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

  • No, instead we have to click other amount at bottom right there, when we have to input 4-0-0 in this screen 4-0-0 after consulting visually the little cheat sheet on the device itself it tells you in a very long chart how much one pass costs so we multiply and type in 4-0-0, we hit enter.

    不,然而我们必须点击,右下边的这个,当我们需要在这个屏幕上,输入0,通过咨询那个设备上小说明,它在一个很长的图表上,告诉你,每一站需要多少钱,我们加起来,输入了4-0-0,点击输入。

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

  • So, summarizing better, assert is something you put in to say to the user, make sure you're giving me input of this type, but I'm going to guarantee you the rest of the code works correctly. Exceptions and exception handlers are saying, here are the odd cases that I might see and here's what I'd like to do in those cases in order to try and be able to deal with them.

    所以更好的总结下,断言就是你放在那里告诉用户,保证你输入的是这种类型的,但我能保证剩下的代码运行正确,异常和异常处理做的事,这里有些我能预期的异常情况,并且这里有些情况,我能尝试处理。

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

  • But if it does take input, you have to provide it in the form of arguments or parameters, like print F takes, generally, inside of those parentheses.

    但是如果它获得了输入,你需要为它提供相应格式的,参数或参量,像printf的输入,一般地,在这些圆括号里。

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

  • The second thing is, what do I print out if I actually don't get the right input in?

    第二件事是我没得到,正确类型的输入时输出什么?

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

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

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

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

  • I'm doing a little trick by the way, I'm using raw input in my function here as a just a way to stop the display.

    顺便说下在这儿我有个小恶作剧,在这个函数中,我使用了raw,input方法。

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

  • I'm passing as input the value in X, which is two.

    我把那个值当输入传给X,那个值是。

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

  • human text, ASCII text as input and output zeroes and ones that represent that program in a manner that the CPU, interesting, dammit, not installed on this computer.

    编译器以人输入的文本,ASCII码为输入,它输出一些cpu实际上可以理解的,在这台计算机上没有安装。

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

  • So we'll talk a bit more about this idea of functions today, but, get int, again, can think of it as a black box, whose purpose in life is to prompt the human for input and pester the human if he or she doesn't actually give it int, but then once it has that, has entered it from the user, it's quote unquote, returns it to you.

    所以我们进今天将多讨论点这个函数的概念,但是,GetInt,我们可以把它当做一个黑盒子,它的唯一目的是提示人们来输入,并且如果他或她没有,给它int数,则会纠缠用户,但是一旦它得到了,用户输入的int数,对输入进行引用,返回给你。

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

  • b OK. In this example I'd use b. All right, as b get-- b is the thing that's changing as I go along here, but it could be things like, how many elements are there in a list if the input is a list, could be how many digits are there in a string if the input's a string, it could be the size of the integer as we go along. All right.?

    好,在这个例子里我会用,因为b是一直在变的东西,但是也可能是如下情况:,如果输入是数组的话,变化的就是数组的元素数,如果输入是字符串的话,变化的就是字符串的长度,如果是integer的话,可能就是这个数的大小,对不对?

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

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

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

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