All right? And I'm going to say-- sort of set that stage here, so that-- It turns out that that's probably about the best we can do, or again ends at the length of the list.
我要说的是,这一阶段的集合,我们用最优的方法完成,还是取决于列表的长度,好的,还是回到了我的问题上了。
This should all sound incredibly familiar, like I'm just repeating myself in terms of photoelectric effect, because essentially that's what I'm doing, and that's one reason we spent so much time and did so many problem-set problems on the photoelectric effect.
这应该听起来极其熟悉,就像我在重复自己在讲光电效应时所说的话,因为基本上我正是在这样做,这也是我们在光电效应这个问题上,花这么多时间,做这么多习题的原因之一。
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.
名字叫,我们来看一会,我先来设置下情景-,假设我想输入,抱歉,我希望你们作为用户来输入一个浮点数。
Shelly Kagan I've got a set of beliefs,a set of--I believe I'm Shelly Kagan, a set of memories about growing up in Chicago.
有一系列的信念,相信自己是,有一系列在芝加哥长大的记忆。
I'm all set, I only use this chalk.
我很好,不---我准好了,我只有这只粉笔,I’m,fine。,I,don’t,–
It's reasonable because it's meant TMP for temporary purposes just to call it temp or T-M-P for short, X and I can define temp as -- why don't I set it as equal to X, initially, because now that I've stored X in a separate chunk of memory, I can now change its value and then I can say Y gets, not X, but temp, and so now I've actually swapped these values.
这是合理的,因为它是为,暂时的目的,只要叫它Temp或简称它为,我可以定义temp为--为什么我不把它设定为等于,最初的,因为现在我把X存储在一个单独的内存块中,我现在可以改变它的值,然后我说Y等于,不是X,而是temp,所以现在我交换这些值。
应用推荐